Search found 11 matches

I'm not sure what's happening. I just commented out the Nothing statement and it still worked. I'm using Win 98SE and Icad version 5.1.5 to test it. I seen your earlier post about a registry problem created from another version. Could it be possible that there is still some sort of conflict there? I...

I added this line to your code:

Set iPoint = Nothing

Right before the "Next intJ" statement and it seems to work.

Thanks for bringing it up, I've been struggling with this same problem, but something in your post made me think about it in a new way.

I figured out how to get the items selected by specifying the centerpoint and a point on the circle itself. >>>>>>>>>CODE<<<<<<<<<<<<< Set objSS = ActiveDocument.SelectionSets.Add("SetName") Set pnt1 = ActiveDocument.Utility.GetPoint(, "Center of circle") Set pnt2 = ActiveDocumen...

Help with selection sets.

I am trying to create a "cookie cutter" routine that will allow the user to draw a circle around the desired area and then copy all of the entities that are either completely or partially inside the circle. The user then selects the "cookie" location and everything outside of the...

Thanks for your help. I've been thinking about this project and have decided to go another route. Instead of running my update module when ICAD starts, I'm going to have it run from a form. The reason for doing this is that my program contains file paths that are specific to each user. If the import...

I fount this in the help file, but haven't been able to figure out a way to control what is being removed.

Debug.Print Application.VBE.ActiveVBProject.VBComponents(4).Name


Application.VBE.ActiveVBProject.VBComponents.Remove Application.VBE.ActiveVBProject.VBComponents(4)

John, Here is what I've got so far: Sub InsertOneModule() Dim AddCompArray(0 To 10) As String 'Make array that will hold VBA components Dim OldCompArray(0 To 10) As VBComponent 'Array to hold components to be removed Dim i As Integer 'Existing components to be removed OldCompArray(0) = "browsef...

I'm not sure I understand what I need to do. Are you saying that I need to write a module that will run when ICAD starts up. Then it will import all of my files from the server and put them into the CommonProjects.vbi? Would you be willing to provide an example on how to do that or at least help me ...

opening a second drawing

I am having difficulty opening a second drawing from within VBA. I have successfuly performed a SAVEAS on the first drawing and need to open a different template drawing. the command line I have been trying is: Application.Documents.Open "C:\My Documents\Materials\auto second.dwg" This doe...

Text justification

I am working on a bill of materials project and have a problem. How can I control the justification of text? It seems to default to bottom-left, but I need it middle justified on some columns and left-middle on others. Also after writing a row of text how can I specify the insertion point for the ne...

Go to advanced search