Continue to Site

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!

[MACRO CATIA V5] Offseting Dimension

Status
Not open for further replies.

jorgenoro

Automotive
Oct 19, 2015
3
PT
Hello,

I'm trying to create a macro to style dimensions according some standards.
What I need is to access the marked propertie. I usually go there by right click on the dimension and choose:
Properties -> Value Tab (see image for more detail).

I cant find anywhere that propertie in the V5 Automation file.
Does anyone have a clue?

Thanks!
 
 http://files.engineering.com/getfile.aspx?folder=ecb15dc1-faf6-4061-8890-58fac6aafc0e&file=dimoffset.png
Replies continue below

Recommended for you

why do you need a macro for that? it's depends on a standard you use asme/iso or by company standards. run catia in admin mode and change it once and forever
 
I need it because I can't run CATIA in admin, and in our drawings we need to offset the dimension acc the type.
In a drawing were you have a huge number of dimensions, it would be nice to automate even one single click.
 
in command line write t:dim* then hit properties and change what you want for all dimensions
 
JenialL said:
in command line write t:dim* then hit properties and change what you want for all dimensions

Doesn't fit my need. It will select all dimensions, thus giving all the same offset value.
What I want is to create 5 macros total, that styles the selected dimensions. I have 5 types of dimenisons.

Question is, does anyone knows how to set that attribute with VBScript?
 
seems like google knows nothing about that.
you can combine 5 macros together in one macro. in automation file maybe it's under the Sub MoveValue section
i guess for every type of dimension you can set different offset. if you dont mind you can upload you standard and i'll edit this
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top