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...
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,
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"...
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
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 =...
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...
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...
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...