Trick PDM into mapping variables to AutoCAD metadata
Posted: Fri Jun 04, 2021 3:54 pm
Hey all,
Title says it all, really. I am having a hard time believing that SW PDM can only map variables to AutoCAD through title block attributes. The reason I say this is that PDM does (appear to) read this type of metadata. If I RC->Properties on a .dwg file, the dialog box lists the extra property tabs that are associated with it. See below for .slddrw props vs .dwg props, invoked through SW PDM.
vs
What I am wanting to do is map PDM variables to AutoCAD file properties, whether it be General / Summary / Statistics / Custom properties. Our templates were built to have all of the title blocks driven from the file's custom properties. That way, we don't need to manually update each block's attribute. Does anyone have any experience in this? Or are we destined to work around this issue by making some dummy blocks with attributes in the dwg file? Alternatively, is there a way to do this programmatically? Whether it's dispatch or some API.
I may just be way off-base in my assumptions as well - I understand that even though PDM can clearly read metadata from the file, it may not actually be able to do anything with that information. Just simply read it.
Title says it all, really. I am having a hard time believing that SW PDM can only map variables to AutoCAD through title block attributes. The reason I say this is that PDM does (appear to) read this type of metadata. If I RC->Properties on a .dwg file, the dialog box lists the extra property tabs that are associated with it. See below for .slddrw props vs .dwg props, invoked through SW PDM.
vs
What I am wanting to do is map PDM variables to AutoCAD file properties, whether it be General / Summary / Statistics / Custom properties. Our templates were built to have all of the title blocks driven from the file's custom properties. That way, we don't need to manually update each block's attribute. Does anyone have any experience in this? Or are we destined to work around this issue by making some dummy blocks with attributes in the dwg file? Alternatively, is there a way to do this programmatically? Whether it's dispatch or some API.
I may just be way off-base in my assumptions as well - I understand that even though PDM can clearly read metadata from the file, it may not actually be able to do anything with that information. Just simply read it.