NXOpen .NET Reference Guide
1899
|
Represents the standard part framework builder to add or edit ship standard part. More...
Public Types | |
enum | CreationType { Creation, Adoption } |
Indicates the creation type More... | |
enum | SmartRuleStage { PreUpdate, PostUpdate } |
Indicates the stage of the smart rule. More... | |
Public Member Functions | |
unsafe void | AddStandardPart () |
Adds a standard part into the assembly context, restores the broken wave links and renames the standard part when all external references are defined. More... | |
unsafe void | ApplySmartRuleResult (string[] pStrParamName, string[] pStrParamValue) |
Applies the smart rule results to the spreadsheet data block. More... | |
unsafe void | CheckInterference () |
Checks the clearance between the standard parts and the other components in current assembly. More... | |
unsafe void | CheckSpreadsheetInput (NXOpen.Features.ShipDesign.StandardPartItemBuilder pItemBuilder, out string[] ppStrParamName, out string[] ppStrParamValue) |
Looks for the parameter values that are owned by reference geometeries(Attributes) and/or template parts(attributes or expressions) and used as inputs to look for the parameter values in spreadsheet. More... | |
unsafe void | CopyFromWeldCharacteristics (NXOpen.Features.ShipDesign.StandardPartItemBuilder stdPartItemBuilder) |
Copies the weld characteristics from the specific standard part item builder. More... | |
unsafe void | CopyToWeldCharacteristics (NXOpen.Features.ShipDesign.StandardPartItemBuilder stdPartItemBuilder) |
Copies the weld characteristics to the specific standard part item builder. More... | |
unsafe NXOpen.Features.ShipDesign.StandardPartItemBuilder | CreateStandardPartItem (NXOpen.Features.ShipDesign.StandardPartItemBuilder refBuilder) |
Creates a new StandardPartItemBuilder and intialize the builder with data from the reference builder. More... | |
unsafe void | EndRunSmartRule (NXOpen.Features.ShipDesign.StandardPartItemBuilder pItemBuilder) |
End run the smart rules. More... | |
unsafe void | FlipThicknessDirection (bool bUpdateModel) |
Flips the standard part thickness direction. More... | |
unsafe void | GetDataFile (bool updateConfiguration) |
Retrieves the data file name from the registration spread sheet. More... | |
unsafe string | GetModelFile () |
Retrieves the model file name from the registration spread sheet. More... | |
unsafe string | GetStandardPartName (bool bFullName) |
Returns the default name of the added standard part name More... | |
unsafe void | ModifySpreadsheetData (string[] strParamName, string[] strParamValue) |
Modifies specific parameter values without change parameter statuses. More... | |
unsafe void | PostUpdate () |
Does the final check to finish the process of updating standar parts. More... | |
unsafe void | RemoveInstance (NXOpen.Features.ShipDesign.StandardPartItemBuilder itemBuilder) |
Removes the standard part instance. More... | |
unsafe void | ResetPartIndex () |
Resets the standard part index so that the next standard part would be added with the index in its name starting from 1. More... | |
unsafe void | ResetRuleInputCache () |
Resets rule trigger source cache so the rule trigger evaluation can start from original point. More... | |
unsafe void | RunSmartRule (NXOpen.Features.ShipDesign.StandardPartItemBuilder pItemBuilder, NXOpen.Features.ShipDesign.StandardPartFrameworkBuilder.SmartRuleStage stage, out string[] ppStrParamName, out string[] ppStrParamValue, out string[] ppStrParamDescription) |
Runs the smart rule engine to get the inference result. More... | |
unsafe void | SetCurrentStandardPartItem (NXOpen.Features.ShipDesign.StandardPartItemBuilder pCurItemBuilder) |
Sets the current standard part item that is edited. More... | |
unsafe void | SetStandardPartVersion (double standardPartVersion) |
Set the standard part version. More... | |
unsafe void | SetView () |
Sets the current view normal to the main plane, which is the base plane to construct the primary sketch in the template part. More... | |
unsafe void | UpdateModel () |
Updates all standard parts More... | |
unsafe void | UpdateShipNames (NXOpen.Features.ShipDesign.ShipnamesBuilderType shipNamesType) |
Update Ship Names builder when change part category. More... | |
unsafe void | UpdateSpreadsheetData (string[] strParamName, string[] strParamValue, int[] pnParamStatus) |
Updates the parameter values which are defined in the parameter spreadsheet. More... | |
unsafe void | UpdateSpreadsheetDataNoUpdate (string[] strParamName, string[] strParamValue, int[] pnParamStatus) |
Updates the parameter values which are defined in the parameter spreadsheet but not update the standard parts. More... | |
unsafe void | UpdateThicknessDirection (bool bUpdateModel) |
Updates the standard part thickness direction. More... | |
Public Member Functions inherited from NXOpen.Builder | |
unsafe NXOpen.NXObject | Commit () |
Commits any edits that have been applied to the builder. More... | |
unsafe void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
unsafe NXOpen.NXObject[] | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
unsafe NXOpen.NXObject | GetObject () |
Returns the object currently being edited by this builder. More... | |
unsafe void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
unsafe bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen.TaggedObject | |
void | PrintTestData (String variableName) |
<exclude> More... | |
void | PrintTestData (String variableName, int lineNumber) |
<exclude> More... | |
override string | ToString () |
Returns a String that represents the current Object. More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Properties | |
unsafe string | ConfigAttribute [get, set] |
Returns or sets the configure attribute, which is read from the design environment by the settings in the configuration XML file. More... | |
unsafe string | FirstCompartment [get, set] |
Returns or sets the first compartment option. More... | |
unsafe NXOpen.Features.ShipDesign.ManufacturingStockBuilder | ManufacturingStock [get] |
Returns the manufacturing stock builder that holds the manufacturing data. More... | |
unsafe string | PartCategory [get, set] |
Returns or sets the part category, which is defined in registration file. More... | |
unsafe NXOpen.Features.ShipDesign.StandardPartFrameworkBuilder.CreationType | PartCreationType [get, set] |
Returns or sets the creation type. More... | |
unsafe string | PartSubType [get, set] |
Returns or sets the part sub type, which is the sub category of sub type. More... | |
unsafe string | PartType [get, set] |
Returns or sets the part type, which is the sub category of part type. More... | |
unsafe string | SecondCompartment [get, set] |
Returns or sets the second compartment option. More... | |
unsafe NXOpen.Features.ShipDesign.ShipNamesBuilder | ShipNames [get] |
Returns the Ship Names builder, used to assign names to the Standard Parts created. More... | |
unsafe bool | StandardPartGroupOption [get, set] |
Returns or sets the option whether to group multiple standard parts together to share the same parameters during the update when editing. More... | |
unsafe NXOpen.Features.ShipDesign.StandardPartItemBuilder | StandardPartItem [get] |
Returns the standard part item, which is the builder of the selection item. More... | |
unsafe NXOpen.Features.ShipDesign.StandardPartItemBuilderList | StandardPartList [get] |
Returns the standard part list, which supports to add more than one standard part at one time. More... | |
unsafe NXOpen.Expression | Thickness [get] |
Returns the standard part thickness. More... | |
unsafe NXOpen.Features.ShipDesign.StandardPartItemBuilder.Direction | ThicknessDirection [get, set] |
Returns or sets the option whether to change thickness direction. More... | |
unsafe NXOpen.Weld.CharacteristicsBuilder | WeldCharacteristics [get] |
Returns the weld characteristics. More... | |
Properties inherited from NXOpen.Builder | |
unsafe NXOpen.PreviewBuilder | PreviewBuilder [get] |
Returns the preview builder subobject. More... | |
Properties inherited from NXOpen.TaggedObject | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Properties inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageSink | NextSink [get] |
Gets the next message sink in the sink chain. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from NXOpen.TaggedObject | |
new void | initialize () |
<exclude> More... | |
Represents the standard part framework builder to add or edit ship standard part.
To create a new instance of this class, use NXOpen.Features.ShipCollection.CreateStandardPartFrameworkBuilder
Default values.
Property | Value |
---|---|
Thickness.Value (deprecated) |
5 (millimeters part), 0.02 (inches part) |
Created in NX8.0.0
|
inline |
Adds a standard part into the assembly context, restores the broken wave links and renames the standard part when all external references are defined.
Created in NX8.0.0
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
|
inline |
Applies the smart rule results to the spreadsheet data block.
Created in NX8.0.0
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
pStrParamName | |
pStrParamValue |
|
inline |
Checks the clearance between the standard parts and the other components in current assembly.
There are two types of interference to be checked. 1) Interference between standard part and other componenets, and 2) interference between standard part and cutouts.
Created in NX8.0.0
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
|
inline |
Looks for the parameter values that are owned by reference geometeries(Attributes) and/or template parts(attributes or expressions) and used as inputs to look for the parameter values in spreadsheet.
Created in NX8.0.0
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
pItemBuilder | |
ppStrParamName | |
ppStrParamValue |
|
inline |
Copies the weld characteristics from the specific standard part item builder.
Created in NX9.0.1
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
stdPartItemBuilder |
|
inline |
Copies the weld characteristics to the specific standard part item builder.
Created in NX9.0.1
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
stdPartItemBuilder |
|
inline |
Creates a new StandardPartItemBuilder and intialize the builder with data from the reference builder.
Created in NX8.0.0
License requirements: None.
refBuilder |
|
inline |
End run the smart rules.
Created in NX8.0.0
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
pItemBuilder |
|
inline |
Flips the standard part thickness direction.
If bUpdateModel is true, the model will be updated. If it is false, the thickness direction will be flipped but the model will not be updated.
Created in NX8.0.0
Deprecated in NX8.0.3. Use NXOpen.Features.ShipDesign.StandardPartFrameworkBuilder .ModifySpreadSheetData() instead.
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
bUpdateModel |
|
inline |
Retrieves the data file name from the registration spread sheet.
Created in NX8.0.0
License requirements: None.
updateConfiguration | Whether to update the selection configuration |
|
inline |
Retrieves the model file name from the registration spread sheet.
Created in NX8.0.0
License requirements: None.
|
inline |
Returns the default name of the added standard part name
Created in NX8.0.0
License requirements: None.
bFullName |
|
inline |
Modifies specific parameter values without change parameter statuses.
This could be used to apply smart rule result.
Created in NX8.0.0
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
strParamName | |
strParamValue |
|
inline |
Does the final check to finish the process of updating standar parts.
Created in NX8.0.0
License requirements: None.
|
inline |
Removes the standard part instance.
Created in NX8.0.0
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
itemBuilder |
|
inline |
Resets the standard part index so that the next standard part would be added with the index in its name starting from 1.
Created in NX8.5.0
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
|
inline |
Resets rule trigger source cache so the rule trigger evaluation can start from original point.
Created in NX8.0.0
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
|
inline |
Runs the smart rule engine to get the inference result.
Created in NX8.0.0
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
pItemBuilder | |
stage | |
ppStrParamName | |
ppStrParamValue | |
ppStrParamDescription |
|
inline |
Sets the current standard part item that is edited.
This is useful if standard part framework works in non-group mode.
Created in NX8.5.0
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
pCurItemBuilder |
|
inline |
Set the standard part version.
Created in NX9.0.1
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
standardPartVersion |
|
inline |
Sets the current view normal to the main plane, which is the base plane to construct the primary sketch in the template part.
If there is no sketch found, nothing will be done.
Created in NX8.0.0
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
|
inline |
Updates all standard parts
Created in NX8.0.0
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
|
inline |
Update Ship Names builder when change part category.
Created in NX11.0.1
License requirements: None.
shipNamesType |
|
inline |
Updates the parameter values which are defined in the parameter spreadsheet.
It also updates the standard parts.
Created in NX8.0.0
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
strParamName | |
strParamValue | |
pnParamStatus |
|
inline |
Updates the parameter values which are defined in the parameter spreadsheet but not update the standard parts.
Created in NX8.0.0
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
strParamName | |
strParamValue | |
pnParamStatus |
|
inline |
Updates the standard part thickness direction.
If bUpdateModel is true, the model will be updated. If it is false, the thickness direction will be flipped but the model will not be updated.
Created in NX8.5.0
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
bUpdateModel |
|
getset |
Returns or sets the configure attribute, which is read from the design environment by the settings in the configuration XML file.
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
|
getset |
Returns or sets the first compartment option.
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
|
get |
Returns the manufacturing stock builder that holds the manufacturing data.
Created in NX8.5.0
License requirements: None.
|
getset |
Returns or sets the part category, which is defined in registration file.
The typical standard part types include stiffener end bracket, collar plate, tripping bracket, flat bar etc.
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
|
getset |
Returns or sets the creation type.
Created in NX9.0.2
License requirements to get this property: None.
License requirements to set this property: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
|
getset |
Returns or sets the part sub type, which is the sub category of sub type.
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
|
getset |
Returns or sets the part type, which is the sub category of part type.
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
|
getset |
Returns or sets the second compartment option.
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
|
get |
Returns the Ship Names builder, used to assign names to the Standard Parts created.
Created in NX9.0.2
License requirements: None.
|
getset |
Returns or sets the option whether to group multiple standard parts together to share the same parameters during the update when editing.
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
|
get |
Returns the standard part item, which is the builder of the selection item.
Created in NX8.0.0
License requirements: None.
|
get |
Returns the standard part list, which supports to add more than one standard part at one time.
Created in NX8.0.0
License requirements: None.
|
get |
Returns the standard part thickness.
Created in NX8.0.0
Deprecated in NX8.0.3. Removed with no replacement
License requirements: None.
|
getset |
Returns or sets the option whether to change thickness direction.
Created in NX8.5.0
License requirements to get this property: None.
License requirements to set this property: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
|
get |
Returns the weld characteristics.
Created in NX8.0.0
License requirements: None.