Method SetSourceRepresentation
SetSourceRepresentation(DocumentId, ElementId)
Sets the source representation of a BOM.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 12, 0, 0)]
void SetSourceRepresentation(DocumentId inDocumentId, ElementId inRepresentationId)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the BOM document to modify. |
| ElementId | inRepresentationId | Identifier of the representation of the source assembly document. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.12.