Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

relations and parameters with underscores

mason82

New member
If I have a parameter in a part with an underscore as part as the name, for example,


hole_dia (real number)


what is the syntax to access that parameter in therelations editor?

for example, if i want to set a new parameter in the relations


new_param = asm_mbr_ "hole_dia"
 
If you are trying to access the parameter value of a component from an assembly.


You need to put session id.


new_param = hole_dia:xx


Where 'xx' is session id.


Charles
 
I'm trying to write a relation for a repeat region in an assemblydrawing.


For parameters WITHOUT an underscore, for example if the part has a parameter called "size",the relation works by writing:


new_param = asm_mbr_size


but if the part parameter has an underscore, for example hole_dia, the relation no longer works if I put


new_param = asm_mbr_hole_dia


and I get an error.
 

Sponsor

Articles From 3DCAD World

Back
Top