AnsweredAssumed Answered

Find which view is bringing custom property values

Question asked by Hossein Sadeghi on Apr 12, 2013
Latest reply on Apr 23, 2013 by Hossein Sadeghi

Hi all,


I am trying to write a macro that replace the template of our drawings. No need to mention that this is my first macro and I am struggling with every line of it. Anyways, I have seen a couple of good macro online which I am modifying to create our own. One particular problem I have is that most of the macros use the "Default" as one of the inputs for SetupSheet5 function and for some wierd reason most of our drawings use different views to get the custom properties and they are tied to different configurations of a part. Is there any command that I can use to get the value for this input for the following function?


Document.SetupSheet5(ShtNam(i), Retval(0), Retval(1), Retval(2), Retval(3), Retval(4), NewTemp, Retval(5), Retval(6),"Default" , True)





Custom Property Value.PNG