Damn, I swear I searched on the forum before posting my question. I must not have gone far enough into the depths of the forum.
Thank you very much d.roger, I think I should get through it now
Damn, I swear I searched on the forum before posting my question. I must not have gone far enough into the depths of the forum.
Thank you very much d.roger, I think I should get through it now
Hello
A simple question
In a drawing, in an annotation, write $PRPSHEET:"No_article" returns the custom property "No_article" of the document (part or assembly) used as the reference for that drawing.
Now, I would like to be able to run a macro that saves my drawing in the directory of my choice in the form "No_article.pdf"
I'm stumbling over how to retrieve this "No_article" property of the reference part or assembly (and not the drawing) in a variable in my macro?
The following code returns the custom property No_article the drawing and not the reference document
swCustProp.Get2 "No_article", val1, resolvedVal1
Maybe I need to transfer the custom properties of the part into the drawing first, and then use those custom properties of the drawing as a variable in my macro if that's easier (but there has to be a way to do it directly).
Thank you for your help