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.

part name on screen using relation

megaladon

New member
i have the following relation pulling a length from the model to drive the drawing length but i would like to add a note to the assembly telling me which model the length is coming from using a relation.





A=LENGTH:FID_ANALYSIS_LENGTH_1:3


B=LENGTH:FID_ANALYSIS_LENGTH_1:5


Z=MAX(A,B)*1.01+80


LENGTH=CEIL(Z)


IF LENGTH==A
XXX=PARTNUMBER:3
ENDIF


IF LENGTH==B
XXX=PARTNUMBER:5
ENDIF


usingan on screen note &xxx should show me which model it is but i cannot figure out the system parameter to get the model name.
 
The name of the model can be found from the rel_model_name parameter. You can create a relation which will allow you to get the model name into a parameter (eg LENGTH_SOURCE=rel_model_name:3).
 

Sponsor

Articles From 3DCAD World

Back
Top