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!

CATIA script (macro) Weld Symbol - flip and associate to element.

Status
Not open for further replies.

CozminC

Industrial
Jan 30, 2014
14
RO
Hy all,

I. WeldingSimbols

Does anyone knows how is the syntax for flipping a WeldSymbol (in Drafting). What about making it stick to a specified element.

I had some drawingTexts and use for them the next syntax : myText.Angle = 90 both work for Texts.
myText.AssociativeElement = source_element

Now i tried both ways on my weld symbol but it doesn't work.Does anyone know how can i do this ? (as long as i can flip them manually by entering objects properties and also manually positional link to another element i think this can be done by scripting)


II. CATIA CATALOG.

Another thing that i have to do is to insert a specific symbol from Catia Catalog Browser next to the source text. So second question is: Can i automatically insert a symbol from Catia Catalog by script ?

I have uploaded an image made in paint describing what i need.

Thank you all.
Have a good day.

 
 http://files.engineering.com/getfile.aspx?folder=f5218b8e-982d-4322-a141-e35ae5e130f3&file=Weld.jpg
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top