Method SetDerivationInheritances
SetDerivationInheritances(DocumentId, bool, bool, bool, bool, bool, bool, bool, bool, List<ElementId>, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool)
Sets the derivation inheritances of a derived part or assembly.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 10, 0, 0)]
void SetDerivationInheritances(DocumentId inDocumentId, bool inName, bool inDescription, bool inCode, bool inPartNumber, bool inComplementaryPartNumber, bool inManufacturer, bool inManufacturerPartNumber, bool inComment, List<ElementId> inOtherSystemParameters, bool inNonSystemParameters, bool inPoints, bool inAxes, bool inPlanes, bool inFrames, bool inSketches, bool inShapes, bool inPublishings, bool inFunctions, bool inSymmetries, bool inUnsectionabilities, bool inRepresentations, bool inSets, bool inCameras)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of derived part or assembly document to modify. |
| bool | inName | Inherits name from base. |
| bool | inDescription | Inherits description from base. |
| bool | inCode | Inherits code from base. |
| bool | inPartNumber | Inherits part number from base. |
| bool | inComplementaryPartNumber | Inherits complementary part number from base. |
| bool | inManufacturer | Inherits complementary manufacturer from base. |
| bool | inManufacturerPartNumber | Inherits manufacturer part number from base. |
| bool | inComment | Inherits comment from base. |
| List<ElementId> | inOtherSystemParameters | Identifiers of other base document system parameters to inherit. |
| bool | inNonSystemParameters | Inherits non-system parameters from base. |
| bool | inPoints | Inherits points from base. |
| bool | inAxes | Inherits axes from base. |
| bool | inPlanes | Inherits planes from base. |
| bool | inFrames | Inherits frames from base. |
| bool | inSketches | Inherits sketches from base. |
| bool | inShapes | Inherits shapes from base. |
| bool | inPublishings | Inherits publishings from base. |
| bool | inFunctions | Inherits functions from base. |
| bool | inSymmetries | Inherits symmetries from base. |
| bool | inUnsectionabilities | Inherits unsectionabilities from base. |
| bool | inRepresentations | Inherits representations from base. |
| bool | inSets | Inherits sets from base. |
| bool | inCameras | Inherits cameras from base. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.10.