Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

  • Congratulations dmapguru on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get properties of all lines and texts in a drawing with VBA?!

  • Thread starter Thread starter cosva
  • Start date Start date
Status
Not open for further replies.
C

cosva

Guest
:confused:
Hi!

I'm familliar with VBA, I have made a lot of scripts in Excel and worked with .net VB but in Catia
I'm stuck and any help would mean very much to me.
I need to make a script which would get all properties of all lines and all texts in a drawing document. I really don't know how to do that. I don't know how to reference lines or texts. I'm not able to do the "for each" loop to get all lines or texts. Please help.
And my second question is how to get all properties of just some selected texts or lines?
The properties I need are line style,weight, color, startpoint,endpoint.... and of the texts- font,color,angle,size,position....
I hope someone will give me a hand with my problem because i'm on the edge of my nervs!!
Marko Svaco,

Croatia
 
Last edited:
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top