Catia 2D drawing/drafting, weld symbol text information. (macro)
Catia 2D drawing/drafting, weld symbol text information. (macro)
(OP)
Hello,
In a 2d view I have some weld symbolsn and i need to edit by scripting their textboxes but i can't find in the automation file how to do that.
There are 5 textfields for the weld symbols , 2 up, 2 below and another at the end of the symbol.
Does anyone know how can i acces those textfields and edit them automatically (catscript or vba).
Thank you in advance.
In a 2d view I have some weld symbolsn and i need to edit by scripting their textboxes but i can't find in the automation file how to do that.
There are 5 textfields for the weld symbols , 2 up, 2 below and another at the end of the symbol.
Does anyone know how can i acces those textfields and edit them automatically (catscript or vba).
Thank you in advance.





RE: Catia 2D drawing/drafting, weld symbol text information. (macro)
indocti discant et ament meminisse periti
RE: Catia 2D drawing/drafting, weld symbol text information. (macro)
RE: Catia 2D drawing/drafting, weld symbol text information. (macro)
RE: Catia 2D drawing/drafting, weld symbol text information. (macro)
CODE --> catvba
Dim drawingDocument1 As DrawingDocument Set drawingDocument1 = CATIA.ActiveDocument Dim drawingSheets1 As DrawingSheets Set drawingSheets1 = drawingDocument1.Sheets Dim drawingSheet1 As DrawingSheet Set drawingSheet1 = drawingSheets1.Item("Sheet.1") Dim drawingViews1 As DrawingViews Set drawingViews1 = drawingSheet1.Views Dim drawingView1 As DrawingView Set drawingView1 = drawingViews1.Item("Main View") Dim drawingWeldings1 As DrawingWeldings Set drawingWeldings1 = drawingView1.Weldings Dim drawingWelding1 As DrawingWelding Set drawingWelding1 = drawingWeldings1.Item("CATIADrawingWelding0")Drew Mumaw
www.textsketcher.com
www.drewmumaw.com
RE: Catia 2D drawing/drafting, weld symbol text information. (macro)
O have managed to do it some weeks ago but i forgot to post here,
Here is how i did it if anyone else needs this:
CODE --> VBA
RE: Catia 2D drawing/drafting, weld symbol text information. (macro)
Drew Mumaw
www.textsketcher.com
www.drewmumaw.com