Interface IUnfoldings
Gives access to unfoldings.
Namespace: TopSolid.Cad.Design.Automating
Assembly: TopSolid.Cad.Design.Automating.dll
Syntax
[ServiceContract]
[AvailableSinceVersion(7, 10, 300, 60)]
public interface IUnfoldings
Remarks
This interface is available since v7.10.300.60
Methods
GetBendFeatures(DocumentId, out List<BendFeature>)
Gets the bend features.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 16, 400, 160)]
void GetBendFeatures(DocumentId inDocumentId, out List<BendFeature> outBendFeatures)
Parameters
Type | Name | Description |
---|---|---|
DocumentId | inDocumentId | Identifier of the unfolding document to analyze. |
List<BendFeature> | outBendFeatures | List of bend features. |
Remarks
This method is available since v7.16.400.160.
GetPartToUnfold(DocumentId, out DocumentId, out ElementId, out ElementId)
Gets the part to unfold.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 10, 300, 60)]
void GetPartToUnfold(DocumentId inDocumentId, out DocumentId outPartDocumentId, out ElementId outRepresentationId, out ElementId outShapeId)
Parameters
Type | Name | Description |
---|---|---|
DocumentId | inDocumentId | Identifier of the unfolding document to analyze. |
DocumentId | outPartDocumentId | Identifier of the part document that contains the unfolded part. |
ElementId | outRepresentationId | Identifier of the representation that contains the unfolded shape. |
ElementId | outShapeId | Unfolded shape. |
Remarks
This method is available since v7.10.300.60.
IsUnfolding(DocumentId)
Tells whether a document is an unfolding document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 10, 300, 60)]
bool IsUnfolding(DocumentId inDocumentId)
Parameters
Type | Name | Description |
---|---|---|
DocumentId | inDocumentId | Identifier of the document to analyze. |
Returns
Type | Description |
---|---|
System.Boolean | The document is an unfolding document. |
Remarks
This method is available since v7.10.300.60.
SetPartToUnfold(DocumentId, ElementId, ElementId)
Sets the part to unfold.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 10, 300, 60)]
void SetPartToUnfold(DocumentId inDocumentId, ElementId inRepresentationId, ElementId inShapeId)
Parameters
Type | Name | Description |
---|---|---|
DocumentId | inDocumentId | Identifier of the unfolding document to modify. |
ElementId | inRepresentationId | Identifier of the representation to consider into the part document to include. |
ElementId | inShapeId | Identifier of the shape entity to unfold, or empty for first shape entity of the representation. |
Remarks
This method is available since v7.10.300.60.