3DCADWorld Network | 3DCADTips | 3DCADTutorials | 3DCADForums | 3DCADSearch | 3DCADBooks | Design World






Get CAD tips and tutorials on your desktop when you register at 3DCADTips.com!

3DCADTips Weekly
Latest Issue
Archive

3DCADTips Forum Update
Latest Issue
Archive











Go Back   3DCADForums > CAD Communities > CATIA Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read



Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 29th, 2006, 12:45 AM
cosva cosva is offline
Junior Member
 
Join Date: Nov 2006
Posts: 1
Question How to get properties of all lines and texts in a drawing with VBA?!


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 by cosva : November 29th, 2006 at 12:48 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Link


  #2 (permalink)  
Old December 1st, 2006, 04:17 PM
ferdo
 
Posts: n/a
Default

Hi,

CATBlog - Catia V5 blog
FAQ: CODE SNIPPETS > Active Discussions > COE
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 03:30 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0