You need to attach your part files.
Here is an example.
I have a helper asm that I drop my part into. There is a sketch in the part that defines the boundaries. 1 to 1 scale. The assembly has the custom properties for the drawing. Our chart has it own part number.
Create a drawing and add a view at whatever scale is required. My chart was 50X, so my view is 50:1 scale. Show the sketch in the view and use Convert Entities in the slddrw view to create your line work that will be tied to your cad data sketch.
No auto-magically create macros that I am aware of.
205198, Optical Comparitor Chart.zip 427.1 KB
There are several ways to achieve this. However, I would like more insight on how your part is modeled and what exactly do you want to do before I recommend a way forward.