Community Tip - You can change your system assigned username to something more personal in your community settings. X
Goal: One drawing format which will populate specific data and not matter if the drawing model is a single part or an assembly.
Using a repeat region I am trying to pass model material along with a few other items into a title block. I can successfully make this happen by
Is there a way to use repeat region relations in order to have a single format with a repeat region which works if the drawing model is a part or an assembly? I'm not sure if it is even possible, or if I simply am having an issue with syntax and formatting.
Try using
IF asm.mbr.type == 'prt'
use part parameters
endif
if asm.mbr.typ == 'asm'
use assembly parameters
endif
Sadly, no such luck.
The following relations will verify in the drawing of an assembly but does not work on drawing repeat region. The same relations in a drawing of a part will not verify and result in errors.
if asm_mbr_type == 'PART'
test = mbr_ptc_material_ptc_material_name
endif
if asm_mbr_type == 'ASSEMBLY'
test = asm_mbr_ptc_material_ptc_material_name
endif
