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

    Define or open each Part in Product tree

    Thanks for the links ferdo!
  2. 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...
  3. Macro2015

    CATIA MACRO TO CREATE EACH BODY AS A PART

    similar macro can be found here link
  4. 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,
  5. 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"...
  6. 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
  7. Macro2015

    How to make Catia active during running a macro

    Hello, I appreciate if you could help me with this, when msgbox appears i would like to be able to click on tree and rotate the model..please see below thanks in advance Sub CATMain() Dim partdocument1 Set partdocument1 = CATIA.ActiveDocument Set part1 = partdocument1.Part Set selection1 =...
  8. 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...
  9. Macro2015

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

    Thank you Fernando for answer. I found out what was wrong. The problem is that this code was written in CATIA with enabled HYBRID design. When I was trying to run this macro in CATIA with disabled HYBRID design iz didn't work. Now I have no idea how to write the previous code for CATIA wich is...
  10. 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

Back
Top