Hello Everyone,
I am not able to checkin the active document in WorkgroupPDM by API .Any Closed document can be checked in easily.How to checkin active Document
Thanks
SolidworksApi macros
Hello Everyone,
I am not able to checkin the active document in WorkgroupPDM by API .Any Closed document can be checked in easily.How to checkin active Document
Thanks
SolidworksApi macros
Anjani,
I don't think you can. IPDMWConnection::CheckIn says in the description, "Checks the specified closed document into the vault." And I don't see any other methods for check-in.
Keith
Video Tutorials for the SolidWorks API
When the document is open, get the path of the document (.GetPathName).
Close it (.CloseDoc)
Check in the document (.CheckIn)
And reopen it once check in is done.