PRECONDITION: drawing is open containing at least one view referencing a part or assy.
RESULT: document-level custom properties used in referenced model are copied to drawing custom properties.
Note that this will find the first part or assy used in the drawing and will copy its custom properties. If multiple assemblies or parts are used throughout the drawing then this macro will still only copy the custom properties for one of them.
Copy part or assembly custom properties to drawing custom properties (public version)