1.3.2. Windchill REST: MultiCAD solution for 1:n WTPart:EPMDocument

[3]In Windchill environments with automatic part creation enabled, it was previously not possible to assign an existing part to the documents created by 3Dfindit (e.g. MultiCad - one common part and one document per CadSystem). This can be achieved manually by first uploading the new document but not yet checking it in, then assigning the existing part and finally checking in the document. With the new settings in IFWindchillRest.cfg (see below) exactly this behavior can be achieved.

The new CFG Keys now make exactly this behavior possible.

New keys in the IfWindchillRest.cfg

CheckinAsmAsLast must be set to 1 / Yes so that the check-in of an assembly does not automatically components.

#:HELP;Activate this to checkin components before the assembly. 
WWGM is "checkin-includes-subitems", so always checkin the assembly first.
#Default is No.
#:VALS_M;"0","1";"No","Yes"
#:INACTIVE;CheckinAsmAsLast=0

PerformCheckin ensures that first of all only one upload and no part creation takes place. PerformCheckin ensures for the time being only an upload and thus no automatic partial creation.

#:HELP;Perform a checkin on the CAD document when uploading it to common space. 
This should only be changed when a pre checkin, post upload action has to be performed 
by a HookService method. While this as active, the checkin is delayed and will be 
triggered by a CreateAndLinkPart or exected at the end of the export.
#Caution: Currently this is only required when WTPart auto creation is active in 
Windchill and the export process must prevent the auto creation by executing 
CreateAndLinkPart after the upload, but before the checkin is performed. If this is 
set to Yes and CreateAndLinkPart is not executed, other HookService methods that 
manipulate the export document may fail!
#Default is Yes.
#
#Related settings: <PdmOnCheckin_01.EXECUTE> (CreateAndLinkPart).
#:VALS_M;"0","1";"No","Yes"
#:INACTIVE;PerformCheckin=0

CreateAndLinkPart_CheckoutPart will depending on the type of link, in order to select the part from the above Winchill environment check out before assigning or not. CreateAndLinkPart controls whether parts are assign to documents. As a rule, this is only possible in the "Owner" case necessary.

[Note]Note

Checkout + Checkin should only be used if it is really necessary, as this increases the version counter.

#:HELP;Checkout WTPart before linking to CADDocument? Usually only OWNER links 
require a checkout.
#Caution: When WTPart auto creation is active in Windchill, link types that 
require a WTPart checkout, most likely won't work.
#Default is Yes.
#
#Related settings: <CreateAndLinkPart_LinkType>.
#:VALS_M;"0","1";"No","Yes"
#:INACTIVE;CreateAndLinkPart_CheckoutPart=1

RefreshWwgmWorkspaceAfterExport was introduced to make changes to newly created documents that have been created after the geometry generation in the Windchill Commonspace, in the local Workspace.

#:HELP;Refresh the WWGM workspace after each export?
#Default is No.
#This is a WWGM exclusive setting.
#:VALS_M;"0","1";"No","Yes"
#:INACTIVE;RefreshWwgmWorkspaceAfterExport=0



[3] #171637