Search found 11 matches

Setting System Variables

I am trying to set the drawing system variables in a single VB script. I just can't seem to get the SetVariable method to work.

I am trying (amongst other variations) the following:

Set iDoc = IntelliCAD.ActiveDocument
iDoc.SetVariable COLORX, 4

Any suggestions?

That looks just about it!. I did some experimenting and got it down to the following simple code: 'Set the font for the text Set iDoc = IntelliCAD.ActiveDocument iDoc.ActiveTextStyle.FontFile = "stencil" This I include in the For Each ent In objSS 'Some code Next loop. (I actually assign t...

Font attribute

When dealing with selection sets, is there any way of accessing the font attribute of a Text object. For eg: Dim iText As IntelliCAD.Text iText.Font = "stencil" iText.Update I am unable to locate the "font" attribute. Is this called something else, or maybe an attribute of some o...

I have had the same problem. I use an earlier version of iCad to convert the drawings to Acad 14 format, then I can import them into the CMS iCad. If you own Acad (here in South Africa you can buy a reasonable second-hand car for the price of Acad), try saving the drawing in Acad V11 or even V9 (avo...

Many thanks John, I will give it a go. I am off on holiday for the next week or so, so I will post an update when I get back. The other VB programs being developed, including selection set manipulation, importation and exportation of files and entity manipulations is absolutely flying. Very satisfyi...

Final update on this saga: I went to the office and tried the code out on an XP machine and the first thing that happened was a syntax error : str( not recognised, must be Cstr(. When that was changed, the routine ran fine. Tried the same on my development machine at home, no luck. So the problem de...

I re-installed the ProgeSoft version of IntelliCAD and tested the routine - works fine. I then removed the ProgeSoft and CMS versions using the uninstall facility, cleared the registry references, and re-installed CMS icad. No luck, still bombs. Surely if the ProgeSoft version works on my machine, t...

Your suggestion of assigning Nothing to the Object, effectively resetting the object, is aiming us in the right direction. I tried your suggestion but unfortunately it failed on my XP system. Putting in an error trapping routine extracted the error of -214746259 for the GetPoint method. Who knows wh...

GetPoint Object Error

I am writing a simple VBA utility to add a sequence of property numbers to the screen. This is part of a larger routine for our software. Simply put, the operator would enter a start number, then just pick a series of locations on the screen . The macro would then write an incrementing series of num...

John Green of CMS came to the rescue. I had been doing evaluation of ProgeSofts Italian version of Icad and had uninstalled it from the system when I purchased the CMS version. The problem was with the registry. It appears that there was some form of conflict between this system and the ProgeSoft In...

Enable Macros in 5.1PE

I have been using IntelliCAD since Icad98 and AutoCAD since V2.1. I have just purchased 5.1PE and installed with no problem onto a Windows XP Home platform. The program registers itself as Icad 5 Premium Edition 5.1.5.0 The settings Tools/Security Level has been tried at Low/Medium and High. Tools/O...

Go to advanced search