Interface IAssemblies
Gives access to assemblies.
Namespace: TopSolid.Cad.Design.Automating
Assembly: TopSolid.Cad.Design.Automating.dll
Syntax
[ServiceContract]
[AvailableSinceVersion(7, 6, 0, 0)]
public interface IAssemblies
Remarks
This interface is available since v7.6.
Methods
| Name | Description |
|---|---|
| AskOccurrence(UserQuestion, bool, bool, bool, bool, bool, ElementId, out ElementId) | Asks the user for a part or an assembly occurrence. |
| CreateDisassembly(ElementId, bool) | Creates the disassembly operation of an assembly entity. |
| CreateFixedConstraint(ElementId) | Creates a fixed constraint of a positioning. |
| CreateFrameOnFrameConstraint(ElementId, SmartFrame3D, SmartFrame3D, SmartReal, bool, SmartReal, bool, SmartReal, bool, SmartReal, bool, bool) | Creates a "frame on frame" positioning constraint. |
| CreateFrameOnFrameConstraintWithXYOffsets(ElementId, SmartFrame3D, SmartFrame3D, SmartReal, bool, SmartReal, bool, SmartReal, bool, SmartReal, bool, SmartReal, bool, SmartReal, bool, bool) | Creates a "frame on frame" positioning constraint with X and Y offsets. |
| CreateInclusion(DocumentId, ElementId, string, DocumentId, string, List<string>, List<SmartObject>, bool, ElementId, ElementId, bool, bool, bool, bool, Transform3D, bool) | Creates an inclusion operation in a document. |
| CreateInclusion2(DocumentId, ElementId, string, DocumentId, string, List<string>, List<SmartObject>, List<string>, List<SmartDesignObject>, bool, ElementId, ElementId, bool, bool, bool, bool, Transform3D, bool) | Creates an inclusion operation in a document. |
| CreatePositioning(DocumentId) | Creates a positioning operation in a document. |
| DerivePartForModification(ElementId, bool) | Derives a part for modification in an assembly. |
| GetAssemblyCenterOfMassManagement(DocumentId) | Tells whether the physical property management of an assembly is center of mass managed. |
| GetAssemblyMassManagement(DocumentId) | Tells whether the physical property management of an assembly is mass managed. |
| GetAssemblyMomentsOfInertiaManagement(DocumentId) | Tells whether the physical property management of an assembly is moments of inertia managed. |
| GetAssemblyStrictMode(DocumentId) | Tells whether the physical property management of an assembly is strict. |
| GetAssemblySurfaceAreaManagement(DocumentId) | Tells whether the physical property management of an assembly is surface area managed. |
| GetAssemblyVolumeManagement(DocumentId) | Tells whether the physical property management of an assembly is volume managed. |
| GetCollisionsManagement(DocumentId, out ElementId, out bool, out bool, out bool) | Gets the collisions management of an assembly. |
| GetConditionedDriversVisibilityStatus(ElementId, List<string>, List<SmartObject>, List<string>, List<SmartDesignObject>, out List<string>, out List<string>) | Method to get drivers visibility status after a driver value change. |
| GetDriverSubFolderName(ElementId, string) | Gets the name of the driver sub folder. |
| GetDriversFromFamily(DocumentId, out string, out List<string>, out List<SmartObject>, out List<string>, out List<SmartDesignObject>) | Get code and drivers from a family document |
| GetFunctionsInheritingOperation(ElementId, out ElementId, out List<ElementId>, out List<ElementId>) | Gets a functions inheriting operation. |
| GetInclusionChildOccurrence(ElementId) | Gets the part or assembly occurrence entity generated by an inclusion operation. |
| GetInclusionCodeAndDrivers(ElementId, out string, out List<string>, out List<SmartObject>) | Gets the code and drivers of a family inclusion operation. |
| GetInclusionCodeAndDrivers2(ElementId, out string, out List<string>, out List<SmartObject>, out List<string>, out List<SmartDesignObject>) | Gets the code and drivers of a family inclusion operation. |
| GetInclusionDefinitionDocument(ElementId) | Gets the definition document of an inclusion operation. |
| GetNodeBomIndex(ElementId) | Gets the bill of material index attached to a specified assembly node entity. |
| GetNodeProperties(ElementId, out List<PropertyDefinition>, out List<Property>) | Gets the properties attached to a specified assembly node entity. |
| GetOccurrenceDefinition(ElementId) | Gets the definition document of a part or assembly occurrence entity. |
| GetOccurrencePublishing(ElementId, ElementId) | Gets the constituent of an occurrence corresponding to a specified publishing entity. |
| GetOptionalDriverDefaultValue(ElementId, string) | Gets optional driver default value |
| GetParts(DocumentId) | Gets the part or assembly entities that are in the parts folder of an asssembly document. |
| HasDriverSubFolderOwner(ElementId, string) | Determines whether the driver is inside the sub-folder inside the driver folder of the family document. |
| HasOptionalDrivers(ElementId) | Tells if an inclusion has optional drivers. |
| InheritOccurrenceFunctions(ElementId, List<ElementId>) | Provides functions by inheriting from the ones provided in a part or assembly occurrence. |
| IsAssembly(DocumentId) | Tells whether a document is an assembly document. |
| IsAssemblyOccurrence(ElementId) | Tells whether an element is an assembly occurrence entity. |
| IsCollisionsManagementCheckingMechanisms(DocumentId) | Tells whether the collisions management of an assembly is checking for collisions between rigid groups of articulated subassemblies. |
| IsInclusion(ElementId) | Tells whether an element is an inclusion operation. |
| IsLocalPartOrLocalAssembly(ElementId) | Tells whether an element is a local part or a local assembly entity. |
| IsOptionalDriver(ElementId, string) | Tells if a driver is optional |
| IsPartOccurrence(ElementId) | Tells whether an element is a part occurrence entity. |
| IsWizardInclusion(ElementId) | Tells whether an element is a wizard operation. |
| RedirectInclusion(ElementId, DocumentId) | Redirects an inclusion operation. |
| RedirectInclusionWithCodeAndDrivers(ElementId, DocumentId, string, List<string>, List<SmartObject>) | Redirects an inclusion operation to a family with specified code and drivers. |
| RedirectInclusionWithCodeAndDrivers2(ElementId, DocumentId, string, List<string>, List<SmartObject>, List<string>, List<SmartDesignObject>) | Redirects an inclusion operation to a family with specified code and drivers. |
| SetAssemblyCenterOfMassManagement(DocumentId, bool) | Sets the center of mass management of the physical property management of an assembly. |
| SetAssemblyMassManagement(DocumentId, bool) | Sets the mass management of the physical property management of an assembly. |
| SetAssemblyMomentsOfInertiaManagement(DocumentId, bool) | Sets the moments of inertia management of the physical property management of an assembly. |
| SetAssemblyStrictMode(DocumentId, bool) | Sets the strict mode of the physical property management of an assembly. |
| SetAssemblySurfaceAreaManagement(DocumentId, bool) | Sets the surface area management of the physical property management of an assembly. |
| SetAssemblyVolumeManagement(DocumentId, bool) | Sets the volume management of the physical property management of an assembly. |
| SetCollisionsManagement(DocumentId, ElementId, bool, bool, bool) | Sets the collisions management of an assembly. |
| SetCollisionsManagementCheckingMechanisms(DocumentId, bool) | Sets whether the collisions management of an assembly is checking for collisions between rigid groups of articulated subassemblies. |
| SetCollisionsManagementInvalidWhenColliding(DocumentId, bool) | Sets whether the collisions management of an assembly is invalid if collisions are found between rigid groups of articulated subassemblies. |
| SetInclusionCodeAndDrivers(ElementId, string, List<string>, List<SmartObject>) | Sets the code and drivers of a family inclusion operation. |
| SetInclusionCodeAndDrivers2(ElementId, string, List<string>, List<SmartObject>, List<string>, List<SmartDesignObject>) | Sets the code and drivers of a family inclusion operation. |
| SetNodeBomIndex(ElementId, string) | Sets the bill of material index attached to a specified assembly node entity. |
| TransformInclusion(ElementId, Transform3D) | Transforms an inclusion operation. |