ShipPreparationInfo Class¶
-
class
NXOpen.Features.ShipDesign.
ShipPreparationInfo
¶ Bases:
NXOpen.TransientObject
Used to interrogate and change the processing within the
NXOpen.Features.ShipDesign.ShipPreparationBuilder
.The following is a description of the class for each
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes
setting. If a description is not given for a class property or method, then that property or method is not applicable, except forNXOpen.Features.ShipDesign.ShipPreparationInfo.ToBeDeleted()
is always applicable. This is the way the data is set up after callingNXOpen.Features.ShipDesign.ShipPreparationBuilder.FindBasicDesignData()
.**Used to create the linked body feature for plate systems.</b> When
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes
returnsNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedBody
.NXOpen.Features.ShipDesign.ShipPreparationInfo.Feature()
returns the linked body feature
- if it has been created, None otherwise.
Assemblies.Component
of the source object.NXOpen.Features.ShipDesign.ShipPreparationInfo.GetSourceData()
will output the bodies that are linked by this feature.NXOpen.Features.ShipDesign.ShipPreparationInfo.GetLinkedData()
will output the linked bodies once they are created.NXOpen.Features.ShipDesign.ShipPreparationInfo.BasicDesignFeature()
returns the Plate System feature that
created the source body.
**Used to create the linked body features for Brackets.</b>
- When
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes
returns
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedBodyBracket
.NXOpen.Features.ShipDesign.ShipPreparationInfo.Feature()
returns the linked body feature
- if it has been created, None otherwise.
Assemblies.Component
of the source object.NXOpen.Features.ShipDesign.ShipPreparationInfo
that is to be imprinted with this body.NXOpen.Features.ShipDesign.ShipPreparationInfo.TargetBody()
returns the body
- of the linked body that is being imprinted by this body. This data is only available when all the linked data is created.
NXOpen.Features.ShipDesign.ShipPreparationInfo
that is the parent of this slave feature.NXOpen.Features.ShipDesign.ShipPreparationInfo.GetSourceData()
will output the bodies
- that are linked by this feature.
NXOpen.Features.ShipDesign.ShipPreparationInfo.GetLinkedData()
will output the linked
- bodies once they are created.
the Bracket feature that created the source body.
**Used to create composite curve features for edges of intersection seams.</b> When
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes
returnsNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedEdges
.- composite curve feature if it has been created, None otherwise.
NXOpen.Features.ShipDesign.ShipPreparationInfo
that is to include these edges for imprint.NXOpen.Features.ShipDesign.ShipPreparationInfo.TargetBody()
returns the body
- of the linked body that is being imprinted by these edges. This data is only available when all the linked data is created.
NXOpen.Features.ShipDesign.ShipPreparationInfo
that is the parent of this slave feature. The is also the linked body containing the edges.NXOpen.Features.ShipDesign.ShipPreparationInfo.GetSourceData()
will output the edges that
- are gathered by this feature.
NXOpen.Features.ShipDesign.ShipPreparationInfo.GetLinkedData()
will output the composite
- curves once they are created.
the main feature or Sub Systems feature of the plate system.
**Used to create linked composite curve features for intersection seams, curves of standard part brackets, and pillar curves. When the linked target body is created for intersection seams, the edges on this linked body for the intersection seam curves will be found. If they are found the edges will be transferred to the
NXOpen.Features.ShipDesign.ShipPreparationInfo
that contains the edges that are part of a composite curve feature.</b> WhenNXOpen.Features.ShipDesign.ShipPreparationInfoTypes
returnsNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedCurves
.- linked composite curve feature if it has been created, None otherwise.
Assemblies.Component
of the source object.
NXOpen.Features.ShipDesign.ShipPreparationInfo
that is to include these curves for imprint. Will be None for pillar curves.NXOpen.Features.ShipDesign.ShipPreparationInfo.TargetBody()
returns the body
of the linked body that is being imprinted by these curves. This data is only available when all the linked data is created. Will be None for pillar curves.
NXOpen.Features.ShipDesign.ShipPreparationInfo
that is the parent of this slave feature.NXOpen.Features.ShipDesign.ShipPreparationInfo.GetSourceData()
will output the curves that
- are linked by this feature.
NXOpen.Features.ShipDesign.ShipPreparationInfo.GetLinkedData()
will output the linked
- curves once they are created.
the main feature or Sub Systems feature of the plate system, the standard part feature, or the pillar feature.
**Used to create linked face features for stiffener and edge reinforcement base faces.</b> When
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes
returnsNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedFaces
.- linked face feature if it has been created, None otherwise.
Assemblies.Component
of the source object.NXOpen.Features.ShipDesign.ShipPreparationInfo
of the linked body that is to being imprinted by these base faces.NXOpen.Features.ShipDesign.ShipPreparationInfo.TargetBody()
returns the body
- of the linked body that is being imprinted by these base faces. This data is only available when all the linked data is created.
NXOpen.Features.ShipDesign.ShipPreparationInfo
that is the parent of this slave feature.NXOpen.Features.ShipDesign.ShipPreparationInfo.GetSourceData()
will output the bodies whose faces
- are linked by this feature.
NXOpen.Features.ShipDesign.ShipPreparationInfo.GetLinkedData()
will output the linked
- faces once they are created.
the main feature or Sub Systems feature of the stiffener system, or edge reinforcement system.
**Used to create plate divide features for imprinting the bounded sheets and intersection seams onto a plate system linked body.</b> When
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes
returnsNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.PlateDivide
.NXOpen.Features.ShipDesign.ShipPreparationInfo.Feature()
returns the plate divide feature
- if it has been created, None otherwise.
NXOpen.Features.ShipDesign.ShipPreparationInfo
that is to be imprinted with this feature.NXOpen.Features.ShipDesign.ShipPreparationInfo.TargetBody()
returns the body
- of the linked body that is being imprinted by this body. This data is only available when all the linked data is created.
NXOpen.Features.ShipDesign.ShipPreparationInfo.GetImprintData()
will output the bodies and curves that will be used for imprint.
- This data is only available when all the linked data is created.
NXOpen.Features.ShipDesign.ShipPreparationInfo.ExtendImprints`()
allows you to indicate if you want
imprints to be extended to the closest edge.
**Used to create divide features for imprinting the stiffener systems, and on face edge reinforcements onto a plate system linked body.</b> When
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes
returnsNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.StiffenerDivide
, orNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.StiffenerBySupportDivide
.NXOpen.Features.ShipDesign.ShipPreparationInfo.Feature()
returns the profile divide feature
- if it has been created, None otherwise.
NXOpen.Features.ShipDesign.ShipPreparationInfo
that is to be imprinted with this feature.NXOpen.Features.ShipDesign.ShipPreparationInfo.TargetBody()
returns the body
- of the linked body that is being imprinted by this body. This data is only available when all the linked data is created.
NXOpen.Features.ShipDesign.ShipPreparationInfo.GetImprintData()
will output the bodies that will be used for imprint.
- This data is only available when all the linked data is created.
- main feature or Sub Systems feature of the stiffener system or edge reinforcement system.
NXOpen.Features.ShipDesign.ShipPreparationInfo.ExtendImprints`()
allows you to indicate if you want
imprints to be extended to the closest edge.
**Used to create edge reinforcement marking features for splitting the edges on a linked plate system body when needed.</b> When
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes
returnsNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.EdgeReinforcementDivide
.NXOpen.Features.ShipDesign.ShipPreparationInfo.Feature()
returns the edge reinforcement marking feature
- if it has been created, None otherwise.
NXOpen.Features.ShipDesign.ShipPreparationInfo
that is to have its edges split with this feature.NXOpen.Features.ShipDesign.ShipPreparationInfo.TargetBody()
returns the body
- of the linked body that is to have its edges split by this body. This data is only available when all the linked data is created.
NXOpen.Features.ShipDesign.ShipPreparationInfo.GetImprintData()
will output the bodies that will be used for splitting the edges.
- This data is only available when all the linked data is created.
main feature or Sub Systems feature of the edge reinforcement system.
**Used to create edge reinforcement marking features for labelling the edges of the plate system linked body where edge reinforcements exist.</b> When
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes
returnsNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.EdgeReinforcementEdges
.NXOpen.Features.ShipDesign.ShipPreparationInfo.Feature()
returns the edge reinforcement marking feature
- if it has been created, None otherwise.
NXOpen.Features.ShipDesign.ShipPreparationInfo
that is to be imprinted with this feature.NXOpen.Features.ShipDesign.ShipPreparationInfo.TargetBody()
returns the body
- of the linked body that is being imprinted by this body. This data is only available when all the linked data is created.
NXOpen.Features.ShipDesign.ShipPreparationInfo
that is the parent of this slave feature.NXOpen.Features.ShipDesign.ShipPreparationInfo.GetImprintData()
will output the edges that will be labelled.
- This data is only available when all the linked data is created.
edge reinforcement system feature.
**Used to create divide features for imprinting the curves of a standard part bracket.</b> When
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes
returnsNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.StandardPartBracketDivide
.NXOpen.Features.ShipDesign.ShipPreparationInfo.Feature()
returns the bracket divide feature
- if it has been created, None otherwise.
NXOpen.Features.ShipDesign.ShipPreparationInfo
that is to be imprinted with this feature.NXOpen.Features.ShipDesign.ShipPreparationInfo.TargetBody()
returns the body
- of the linked body that is being imprinted by this body. This data is only available when all the linked data is created.
NXOpen.Features.ShipDesign.ShipPreparationInfo.GetImprintData()
will output the curves that will be used for imprint.
- This data is only available when all the linked data is created.
- standard part bracket feature.
NXOpen.Features.ShipDesign.ShipPreparationInfo.ExtendImprints`()
allows you to indicate if you want
imprints to be extended to the closest edge.
**Used to create divide features for imprinting the body of a new bracket.</b> When
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes
returnsNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.BracketDivide
.NXOpen.Features.ShipDesign.ShipPreparationInfo.Feature()
returns the bracket divide feature
- if it has been created, None otherwise.
NXOpen.Features.ShipDesign.ShipPreparationInfo
that is to be imprinted with this feature.NXOpen.Features.ShipDesign.ShipPreparationInfo.TargetBody()
returns the body
- of the linked body that is being imprinted by this body. This data is only available when all the linked data is created.
NXOpen.Features.ShipDesign.ShipPreparationInfo.GetImprintData()
will output the body that will be used for imprint.
- This data is only available when all the linked data is created.
- bracket feature.
NXOpen.Features.ShipDesign.ShipPreparationInfo.ExtendImprints`()
allows you to indicate if you want
imprints to be extended to the closest edge.
**Used to create pillar points features which outputs the end points for beam creation.</b> When
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes
returnsNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.Pillar
.NXOpen.Features.ShipDesign.ShipPreparationInfo.Feature()
returns the pillar feature
- if it has been created, None otherwise.
NXOpen.Features.ShipDesign.ShipPreparationInfo.GetImprintData()
will output the curves that were linked in for the pillar.
- This data is only available when all the linked data is created.
main feature or Sub Systems of the pillar feature.
**Used to create plate divide features for user supplied bodies and curves onto a plate system linked body.</b> When
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes
returnsNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.UserDefined
.NXOpen.Features.ShipDesign.ShipPreparationInfo.Feature()
returns the plate divide feature
- if it has been created, None otherwise.
NXOpen.Features.ShipDesign.ShipPreparationInfo
that is to be imprinted with this feature.NXOpen.Features.ShipDesign.ShipPreparationInfo.TargetBody()
returns the body
- of the linked body that is being imprinted by this body.
NXOpen.Features.ShipDesign.ShipPreparationInfo.GetImprintData()
will output the bodies and curves that will be used for imprint.NXOpen.Features.ShipDesign.ShipPreparationInfo.BasicDesignFeature()
returns the
- feature supplied by the user, can be None.
NXOpen.Features.ShipDesign.ShipPreparationInfo.ExtendImprints`()
allows you to indicate if you want
imprints to be extended to the closest edge.
New in version NX11.0.0.
Properties¶
Property | Description |
---|---|
BasicDesignFeature | Returns or sets the basic design feature related to this information. |
BlendRadius | Returns or sets the blend radius. |
ExtendImprints | Returns or sets the option to extend the imprints. |
Feature | Returns or sets the feature generating this information. |
HoleDiameter | Returns or sets the hole diameter. |
MaximumExtensionDistance | Returns or sets the maximum distance edges will be extended to completion. |
Parent | Returns or sets the parent of the Ship Preparation feature. |
RemoveBlends | Returns or sets the option to remove blends. |
RemoveOpenings | Returns or sets the option to remove openings. |
SourcePart | Returns the source part file of the linked data. |
Target | Returns or sets the target FeatureInfo for the divide operation. |
TargetBody | Returns or sets the target body for the divide operation. |
ToBeDeleted | Returns or sets the indication if this preparation data should be deleted or not. |
Type | Returns or sets the type of Ship Preparation feature. |
Methods¶
Method | Description |
---|---|
Dispose | Free resources associated with the instance. |
GetImprintData | Gets the data to be imprinted onto the target plate system. |
GetLinkedData | Gets the linked data of the object. |
GetSourceData | Gets the source data of the object. |
SetImprintData | Sets the data to be imprinted onto the target plate system. |
SetSourceData | Sets the source data of the object. |
Enumerations¶
ShipPreparationInfoTypes Enumeration | Used to specify the type of object represented in the data. |
Property Detail¶
BasicDesignFeature¶
-
ShipPreparationInfo.
BasicDesignFeature
¶ Returns or sets the basic design feature related to this information.
-------------------------------------
Getter Method
Signature
BasicDesignFeature
Returns: Return type: NXOpen.Features.Feature
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
BasicDesignFeature
Parameters: feature ( NXOpen.Features.Feature
) –New in version NX11.0.0.
License requirements: nx_ship_basic (“Ship Basic Design”)
BlendRadius¶
-
ShipPreparationInfo.
BlendRadius
¶ Returns or sets the blend radius.
If
Features.ShipDesign.ShipPreparationInfo.RemoveBlends`()
is true then blends that that are less than or equal to this radius will be removed from plate systems. Only used when Type isNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.PlateDivide
.-------------------------------------
Getter Method
Signature
BlendRadius
Returns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
BlendRadius
Parameters: blendRadius (float) – New in version NX11.0.0.
License requirements: nx_ship_basic (“Ship Basic Design”)
ExtendImprints¶
-
ShipPreparationInfo.
ExtendImprints
¶ Returns or sets the option to extend the imprints.
If true, imprints will be extended to the first edge. Only used when Type is
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.PlateDivide
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.StiffenerDivide
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.StiffenerBySupportDivide
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.StandardPartBracketDivide
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.BracketDivide
, orNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.UserDefined
.-------------------------------------
Getter Method
Signature
ExtendImprints
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ExtendImprints
Parameters: extendImprints (bool) – New in version NX11.0.0.
License requirements: nx_ship_basic (“Ship Basic Design”)
Feature¶
-
ShipPreparationInfo.
Feature
¶ Returns or sets the feature generating this information.
Will be None before the feature is actually created.
-------------------------------------
Getter Method
Signature
Feature
Returns: Return type: NXOpen.Features.Feature
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Feature
Parameters: feature ( NXOpen.Features.Feature
) –New in version NX11.0.0.
License requirements: nx_ship_basic (“Ship Basic Design”)
HoleDiameter¶
-
ShipPreparationInfo.
HoleDiameter
¶ Returns or sets the hole diameter.
If
Features.ShipDesign.ShipPreparationInfo.RemoveOpenings`()
is true then openings that fit inside a circle with this diameter will be removed from plate systems. Only used when Type isNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.PlateDivide
.-------------------------------------
Getter Method
Signature
HoleDiameter
Returns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
HoleDiameter
Parameters: holeDiameter (float) – New in version NX11.0.0.
License requirements: nx_ship_basic (“Ship Basic Design”)
MaximumExtensionDistance¶
-
ShipPreparationInfo.
MaximumExtensionDistance
¶ Returns or sets the maximum distance edges will be extended to completion.
Only used when
NXOpen.Features.ShipDesign.ShipPreparationInfo.ExtendImprints`()
is true and Type isNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.PlateDivide
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.StiffenerDivide
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.StiffenerBySupportDivide
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.StandardPartBracketDivide
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.BracketDivide
, orNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.UserDefined
.-------------------------------------
Getter Method
Signature
MaximumExtensionDistance
Returns: Return type: float New in version NX11.0.2.
License requirements: None.
-------------------------------------
Setter Method
Signature
MaximumExtensionDistance
Parameters: maximumExtensionDistance (float) – New in version NX11.0.2.
License requirements: nx_ship_basic (“Ship Basic Design”)
Parent¶
-
ShipPreparationInfo.
Parent
¶ Returns or sets the parent of the Ship Preparation feature.
The Ship Preparation feature will be made a slave of this feature. Only used when Type is
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedBodyBracket
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedEdges
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedCurves
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedFaces
, orNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.EdgeReinforcementEdges
.-------------------------------------
Getter Method
Signature
Parent
Returns: Return type: NXOpen.Features.ShipDesign.ShipPreparationInfo
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Parent
Parameters: parent ( NXOpen.Features.ShipDesign.ShipPreparationInfo
) –New in version NX11.0.0.
License requirements: nx_ship_basic (“Ship Basic Design”)
RemoveBlends¶
-
ShipPreparationInfo.
RemoveBlends
¶ Returns or sets the option to remove blends.
If true, blends with a radius less than or equal to
Features.ShipDesign.ShipPreparationInfo.BlendRadius`()
will be removed from plate systems. Only used when Type isNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.PlateDivide
.-------------------------------------
Getter Method
Signature
RemoveBlends
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RemoveBlends
Parameters: removeBlends (bool) – New in version NX11.0.0.
License requirements: nx_ship_basic (“Ship Basic Design”)
RemoveOpenings¶
-
ShipPreparationInfo.
RemoveOpenings
¶ Returns or sets the option to remove openings.
If true, openings that fit inside a circle with diameter
Features.ShipDesign.ShipPreparationInfo.HoleDiameter`()
will be removed from plate systems. Only used when Type isNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.PlateDivide
.-------------------------------------
Getter Method
Signature
RemoveOpenings
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RemoveOpenings
Parameters: removeOpenings (bool) – New in version NX11.0.0.
License requirements: nx_ship_basic (“Ship Basic Design”)
SourcePart¶
-
ShipPreparationInfo.
SourcePart
¶ Returns the source part file of the linked data.
Only valid when Type is
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedBody
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedBodyBracket
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedCurves
, orNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedFaces
.-------------------------------------
Getter Method
Signature
SourcePart
Returns: Return type: NXOpen.Assemblies.Component
New in version NX11.0.0.
License requirements: None.
Target¶
-
ShipPreparationInfo.
Target
¶ Returns or sets the target FeatureInfo for the divide operation.
Valid for all Types except
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedBody
.-------------------------------------
Getter Method
Signature
Target
Returns: Return type: NXOpen.Features.ShipDesign.ShipPreparationInfo
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Target
Parameters: target ( NXOpen.Features.ShipDesign.ShipPreparationInfo
) –New in version NX11.0.0.
License requirements: nx_ship_basic (“Ship Basic Design”)
TargetBody¶
-
ShipPreparationInfo.
TargetBody
¶ Returns or sets the target body for the divide operation.
Can be None. Valid for all Types except
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedBody
. This will typically only be set after the basic design data has been linked.-------------------------------------
Getter Method
Signature
TargetBody
Returns: Return type: NXOpen.Body
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TargetBody
Parameters: targetBody ( NXOpen.Body
) –New in version NX11.0.0.
License requirements: nx_ship_basic (“Ship Basic Design”)
ToBeDeleted¶
-
ShipPreparationInfo.
ToBeDeleted
¶ Returns or sets the indication if this preparation data should be deleted or not.
If you want to remove this data from ship preparation consideration, set this option to true. Do not remove the data from processing since clean up of unwanted data will not occur.
-------------------------------------
Getter Method
Signature
ToBeDeleted
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ToBeDeleted
Parameters: toBeDeleted (bool) – New in version NX11.0.0.
License requirements: nx_ship_basic (“Ship Basic Design”)
Type¶
-
ShipPreparationInfo.
Type
¶ Returns or sets the type of Ship Preparation feature.
-------------------------------------
Getter Method
Signature
Type
Returns: Return type: NXOpen.Features.ShipDesign.ShipPreparationInfoTypes
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Type
Parameters: type ( NXOpen.Features.ShipDesign.ShipPreparationInfoTypes
) –New in version NX11.0.0.
License requirements: nx_ship_basic (“Ship Basic Design”)
Method Detail¶
Dispose¶
-
ShipPreparationInfo.
Dispose
¶ Free resources associated with the instance.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Signature
Dispose()
New in version NX11.0.0.
License requirements: None.
GetImprintData¶
-
ShipPreparationInfo.
GetImprintData
¶ Gets the data to be imprinted onto the target plate system.
Only valid when Type is
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.PlateDivide
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.StiffenerDivide
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.StiffenerBySupportDivide
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.EdgeReinforcementDivide
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.EdgeReinforcementEdges
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.StandardPartBracketDivide
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.BracketDivide
, orNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.Pillar
, orNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.UserDefined
. Will be curves or bodies. This will typically only be set after the basic design data has been linked.Signature
GetImprintData()
Returns: The objects that will be imprinted onto the plate system. Return type: list of NXOpen.NXObject
New in version NX11.0.0.
License requirements: None.
GetLinkedData¶
-
ShipPreparationInfo.
GetLinkedData
¶ Gets the linked data of the object.
Only valid when Type is
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedBody
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedBodyBracket
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedEdges
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedCurves
, orNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedFaces
. This will only be set after the basic design data has been linked.Signature
GetLinkedData()
Returns: The objects linked into the preparation part. Return type: list of NXOpen.NXObject
New in version NX11.0.0.
License requirements: None.
GetSourceData¶
-
ShipPreparationInfo.
GetSourceData
¶ Gets the source data of the object.
Only valid when Type is
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedBody
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedBodyBracket
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedEdges
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedCurves
, orNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedFaces
.Signature
GetSourceData()
Returns: The objects to belinked into the preparation part. Return type: list of NXOpen.NXObject
New in version NX11.0.0.
License requirements: None.
SetImprintData¶
-
ShipPreparationInfo.
SetImprintData
¶ Sets the data to be imprinted onto the target plate system.
Only valid when Type is
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.StiffenerDivide
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.StiffenerBySupportDivide
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.EdgeReinforcementDivide
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.EdgeReinforcementEdges
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.StandardPartBracketDivide
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.BracketDivide
, orNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.Pillar
, orNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.UserDefined
. Only curves or bodies are allowed. Curves will be projected normal to the target body for imprint.Signature
SetImprintData(imprintData)
Parameters: imprintData (list of NXOpen.NXObject
) – The objects that will be imprinted onto the plate system.New in version NX11.0.0.
License requirements: nx_ship_basic (“Ship Basic Design”)
SetSourceData¶
-
ShipPreparationInfo.
SetSourceData
¶ Sets the source data of the object.
Only valid when Type is
NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedBody
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedBodyBracket
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedEdges
,NXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedCurves
, orNXOpen.Features.ShipDesign.ShipPreparationInfoTypes.LinkedFaces
.Signature
SetSourceData(sourceData)
Parameters: sourceData (list of NXOpen.NXObject
) – The objects to be linked into the preparation part.New in version NX11.0.0.
License requirements: nx_ship_basic (“Ship Basic Design”)