The Document Manager has a method GetCutListItems2(). How can this be achieved using the SolidWorks API from inside an addin or can the Document Manager methods be used from within an addin too.
Yes. The document manager can be used from within the addin.
When using it from within an addin will it cause issues if the document you want to use is open in solidworks? How does the Document Manager and Solidworks connect or are they two separate things?
You're not going to the modify the document are you? You merely reading the cutlistitems.
I will be reading properties, components, and cutlistitems and updating properties. I also would like to be doing all this in the context of the current configuration open in Solidworks. That's why I originally was going through the route of using the Solidworks API directly. I'm unfamiliar with the APIs and getting up to speed on them. I'm converting code that originally used the Document Manager API to use the Solidworks API. The two don't quite line up. CutListItems and BOMTable are where my struggles are now.
Thank you for your assistance.
Ok. That sounds fair enough. Are you working with parts or drawings?
I am working with parts and assemblies.
Retrieving data ...