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: *

  • Users: Macro2015
  • Content: Threads
  • Order by date
  1. Macro2015

    Define or open each Part in Product tree

    Hello, I would like to define each part in product tree structure. I can not find the proper result. Maybe i could do with selection to select each part in product tree and open. It could be solved with selection.part.item(i) and startcommad(open in new window). Have any idea how to program...
  2. Macro2015

    Hyperlink Label1.Caption is it possible?

    Hello, Anoter problem.:/ Is it possible to create a Hyperlink on Label Text in VBA? Label2.Caption = "www.google.com" something like that, i do not know the function: Label2.Caption = Hyperlinks.Add("www.google.com") Thanks again for efforts,
  3. Macro2015

    Set dashed line in drawing vba catia

    Hello, I can not find how to adjust dashed line in drafting for catia. Below is some code for Linetype, but result is still filled line. How to define a thin dashed line in vba code? Set Line11 = Fact.CreateLine(22.5, 9.25, 192.5, 9.25) Line11.Name = "Line11"...
  4. Macro2015

    Text spacing and ratio set in drawing vba catia

    Hello, I can not figure it out how to set Spacing or Ratio in drawing text from VBA. I know how to adjust eg. Text.SetFontName 0,0, "Arial" or Text.SetFontSize 0,0, 2, but how to adjust spacing? Some ideas? Thank you
  5. Macro2015

    How to make Catia active during running a macro

    Hello, I can not figure it out how to make Catia active during macro is running. I mean when I run a macro and everything is done and Msgbox is displayed, I would like to scroll the expand tree or zoom in/zoom out/rotate the model. I just want to be Part design active during macro is...
  6. Macro2015

    CATIA macro adds bodies (name_1) to new body (new_name_1)

    Hi! i would like to program a macro that will select: -all Bodies named "name_1" and add them to new body with name "new group 1" -all Bodies named "name_2" and add them to new body with name "new group 2" -all Bodies named "name_3" and add them to new body with name "new group 3". i...

Part and Inventory Search