I am trying to use api to get the component info
first off i am having issues based on if checked in or out status
If the sheet is checked out i get an error in this code. it runs fine when the sheet is checked in.
Set EPDMRefs2 = EPDMRefs.GetNextChild(EPDMPos)
Secondly I cant figure out how to pull an item description. I am attempting to use this code to do it but it puts noting in the EPDMVar variable.
boolstat = EnumVar.GetVarAsText("Description", configname, EPDMSearchR.ParentFolderID, EPDMVar)
SolidworksApi macros