Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. RickyPhil

    Positioning Dimensions with a CATIA Macro

    I figured it out. I didn't realize I could just call the method. Call pinDim.moveValue(0.5 * 25.4, 0.5 * 25.4, 5, 0)
  2. RickyPhil

    Positioning Dimensions with a CATIA Macro

    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...
  3. RickyPhil

    Changing Text Anchor Position in a CATIA V6 Macro from Excel

    I was able to make it work by using Text1.anchorPosition = 6 instead of Text1.anchorPosition = catBottomCenter
  4. RickyPhil

    Changing Text Anchor Position in a CATIA V6 Macro from Excel

    I am useing dots for non-integer numbers. Is there anything else you meant by reginal settings? I think I have the right references in the Excel VBA. The macro creates the text and changes the font size. It just won't change the anchor position. Is there something the .AnchorPosition needs that...
  5. RickyPhil

    Changing Text Anchor Position in a CATIA V6 Macro from Excel

    The above code (excecept with a string instead of a reference to a cell) works if I run it from the CATIA macro editor. Why is there a difference?
  6. RickyPhil

    Changing Text Anchor Position in a CATIA V6 Macro from Excel

    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...
  7. RickyPhil

    Formating lines in a CATIA drawing from a macro in Excel

    Changing .ActiveDocument to .ActiveEditor worked. Thanks!
  8. RickyPhil

    Formating lines in a CATIA drawing from a macro in Excel

    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...

Part and Inventory Search

Top