I am trying to make and position dimensions on a drawing using a macro. I can successfully create dimensions, and I found a method .moveValue that will move the dimension, but I can't figure out how to use it correctly.
From the help document:
MyDimension.MoveValue(X, Y, SubPart...
I have a macro where I am taking text from a spreadsheet and using it to create text in a CATIA V6 drawing. I can get the text in fine and I can change the font size, but I can't get the .AnchorPosition method to work. I get the error message, "The method AnchorPosition failed."
'Creates...
I am creating a macro in Excel that takes x and y data from a worksheet and then brings them into a CATIA drawing and draws lines. I can get it to draw the lines just fine, but I am having trouble formatting the lines. The problem seems to be with the ".Selection" part. I get the error "Object...