Upload Keynote to WordPress Example (Nevada and Idaho 2017)

Click Continue Reading for … welll more on how to do it. It takes about 5 minutes once you have done it once. Continue reading

Share Button

Signing .net VS Manifests driving me nuts. Finally a solution.

This worked for me finally. https://stackoverflow.com/a/8341110

Share Button

Planning a rafting trip – not technical but lets not lose the details

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 🙂

Preplanning

Continue reading

Share Button

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

Share Button

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

Share Button

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.

Share Button

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.

Continue reading

Share Button

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 …

Share Button

Finally – I found how to get the version number of the dll

It has been a mystery on how to get the version number that is in Visual Studio (eg 1.0.1.4) to show. Now I can use a default method to go and get that or have a “version” method in everything that I build. For now, I have a VBA way of getting it. I would prefer to make a method in the c# class called “version” and put it in all my products – that way if I make .version() exposed to the COM/VBA world, I can still get it from VBA. Here is something I found which will do the trick in c#.

Share Button

Fighting to get a COM visible VSTO Addin so its method can be used by VBA

So I am having some troubles and am learning too much about old technology. In short – my interface is COM visible to my VBA in my Excel code, but not the class. Crap – add the word public in front of class – fixed it. None-the-less here is a blog of what helped me solve my issue. I WANT (insist) early binding (aka intellisense 🙂 ) (Something close to my issue). Want to know even more … look at the links at the bottom of this article.

First – set up things properly.

  • Have a GUID for the interface IMyInterface and on the class MyClassO
  • Have the dual interface turned on on the interface and class

Continue reading

Share Button