There are so many little steps to keep people safe etc. that I didn’t want to lose sight of theses instructions. Also- it is very useful for others to know. So, whey not blog here about it and help others along. This was made withe good advise of tall the moms and dads on the trip and one of them is a rafting enthusiast 🙂
Category Archives: General
VBA Selection Set optimization
For some reason, I have never really understood the whole filtered selection sets – it was actually some syntax issues. If you don’t pass the correct types into SS.Select … things go very wrong. Here is some code that works. Note that ClearSelectionSet merely pre-deletes the named selection set. A useful links to shed some light on dxf codes is here. Here is the main article that solved my dilemna, I copied and pasted it and it worked – why didn’t mine? Not sure – need to get on with life. 🙂 . Continue reading
Automating “Command line only” operations in AutoCAD – some tips
Over the past 6 months, I have had to resort to command line options for plugins from CadWorx and others. The one was 2DREPH and I wanted to do it on X viewports. I had these viewports in an array, but how can I make a command line string that would consistently work? Well, it came down to making a selection set, then making a group with the same name (prefixed with lets say “GRP”), then using the commandline selection based on group. So, for instance, when prompted for objects here is a selection example:
“SELECT G GRPMYFAVGROUP ” (note the 2 spaces at the end)
Handy. I then deleted the group to put things back to the way they were.Why? Well… Continue reading
Run VBA From AutoCad’s Command Prompt vbastmt
Well if that isn’t handy. Use ‘vbastmt’ on the command line and put VBA with its in-line separator (colon) and bob’s ur uncle. Click here for source.
How to show a random selected entity’s AutoCad Handle
I am a little tired of looking for this so I thought I would copy it here. Here is the source.
AutoCad XData Organization And Refresher – CadWorx
So I am working with CadWorx. I needed a refresher on my Autocad XData – I suspected that is where the data was stored as CadWorx files seem to have a 3D shape and a line grouped together … but why? Well, the line had XDATA attached to it was my suspicion and I was right. Here are some links that I found helpful to get me re-oriented after 4 years of needing this info …
- XData organization straight from AutoCAD
- VBA / ActiveX Starter to get XData
- How to know what registered Apps exist in your file/AutoCad install
- Whoa – thousands…. How to spit out ACad command line to a log file
- or do it easily in VBA
- VBA variable types and what >8197 means – it means 8192 + 5 (vbArray + vbDouble)
- Retrieving xData – to take a peek under the hood of a component
Restful Service Help
Here are some websites with tips on how to make Restful Services.
https://closebrace.com/tutorials/2017-03-02/the-dead-simple-step-by-step-guide-for-front-end-developers-to-getting-up-and-running-with-nodejs-express-and-mongodb
Creating a Service in C# with visual Studio
So you want to create a service in C#? well look no further. This article is amazing and will take you through each step clearly and let you know how to make the service. Highly recommend for creating services in the future.
James’ Error codes
The following are Error codes used by James’ programs across platforms:
/// Error Code SE-JEHG-0001 = Programer needs to implement XLVBAInitializer method before running code.
/// Error Code SE-JEHG-0002 = User did not provide a destination for StackEm.
/// Error Code SE-JEHG-0003 = VBA constructed name for destination of stackem is invalid
This list is in progress.
Daily Dose of Fiber to Keep your Internet Regular
So you want really fast internet in the calgary area? Well let me do the leg work for you! These websites offer down and up of at least 150mbs and fiber cables.
https://www.shaw.ca/store/internet/internetPackageDetails.jsp?prodId=prod1480004
http://business.shaw.ca/Advanced-Solutions/Internet/Fiber-Gateway
https://shop.shaw.ca/internetplans?SegmentationLinkClicked=true
https://www.broadconnect.ca/internet-solutions/t1/