assembly part Quantity I fail to create a macro that adds more Quantity precisely, How can i do this? Can someone help me?
I fail to create a macro that adds more Quantity precisely, How can i do this? Can someone help me?
I'm not sure if this answers your question but I'll say anyway. Without using document manager API etc... it is easier to delete and add the custom property. see below
Dim swApp As SldWorks.SldWorks
Dim swModel As SldWorks.ModelDoc2
swApp = CreateObject("SldWorks.Application")
swModel = swApp.ActiveDoc
swModel.AddCustomInfo("Quantity", "Text", "Your quantity value")
How this code works
Retrieving data ...