NX Open C++ Reference Guide
|
Base class for an NX part. More...
Classes | |
struct | HistoryEventInformation |
Contains part history event information. More... | |
struct | IncompleteStatus |
Incomplete part return data. More... | |
struct | TransientStatus |
Transient part return data. More... | |
Public Types | |
enum | BookmarkOption { BookmarkOptionAll, BookmarkOptionComponentGroupsLoadOptions, BookmarkOptionComponentGroupsOnly } |
Controls the information written to a bookmark file. More... | |
enum | CloseAfterSave { CloseAfterSaveFalse, CloseAfterSaveTrue } |
Used to specify whether a part should be closed after it is saved. More... | |
enum | CloseModified { CloseModifiedUseResponses, CloseModifiedCloseModified, CloseModifiedDontCloseModified } |
Indicates how part close should handle component parts when they are modified. More... | |
enum | CloseWholeTree { CloseWholeTreeFalse, CloseWholeTreeTrue } |
Used to specify whether or not to close a part's components during a close operation. More... | |
enum | PartPreview { PartPreviewNone, PartPreviewOnSave, PartPreviewOnDemand } |
Specifies the preview mode of the part file. More... | |
enum | SaveComponents { SaveComponentsFalse, SaveComponentsTrue } |
Used to specify whether a part's components should be saved (if modified) when the part is saved. More... | |
enum | Units { UnitsInches, UnitsMillimeters } |
The units of the part file. More... | |
Public Member Functions | |
NXOpen::GeometricAnalysis::AnalysisManager * | AnalysisManager () |
Returns the GeometricAnalysisManager for part Created in NX5.0.0. | |
NXOpen::ArcCollection * | Arcs () |
Returns the ArcCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::Assemblies::ProductOutlineManager * | Assemblies () |
Returns the NXOpen::Assemblies::ProductOutlineManager belonging to this session Created in NX6.0.0. | |
NXOpen::Assemblies::AssemblyManager * | AssemblyManager () |
Returns the NXOpen::Assemblies::AssemblyManager belonging to this session Created in NX6.0.0. | |
void | AssignPermanentName (const NXString &newFileName) |
Saves a temporary part with the given name. | |
NXOpen::AxisCollection * | Axes () |
Returns the AxisCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::Features::BaseFeatureCollection * | BaseFeatures () |
Returns the FeatureCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::Display::CameraCollection * | Cameras () |
Returns the Display.CameraCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::CAM::CAMFeatureCollection * | CAMFeatures () |
Returns the CAMFeatureCollection instance belonging to this part Created in NX7.5.0. | |
void | Close (NXOpen::BasePart::CloseWholeTree wholeTree, NXOpen::BasePart::CloseModified closeModified, NXOpen::PartCloseResponses *responses) |
Closes an open part. | |
NXOpen::ColorManager * | Colors () |
Manages the standard NX colors Created in NX3.0.0. | |
void | CompleteStructure () |
Make additions necessary to complete the incomplete assembly structure of the input part Created in NX4.0.0. | |
NXOpen::Assemblies::ComponentAssembly * | ComponentAssembly () |
Returns the component assembly. | |
NXOpen::CoordinateSystemCollection * | CoordinateSystems () |
Returns the CoordinateSystemCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::Display::DynamicSectionBuilder * | CreateDynamicSectionBuilder (bool loadFromView) |
Creates a Display::DynamicSectionBuilder The base part must be a displayable part, otherwise an exception will be thrown. | |
NXOpen::Display::FacetSettingsBuilder * | CreateFacetSettingsBuilder () |
Creates a builder for the Facet Settings dialog. | |
NXOpen::GroupBuilder * | CreateGatewayGroupBuilder (NXOpen::Group *group) |
Creates a Groups builder. | |
NXOpen::Display::PerspectiveOptionsBuilder * | CreatePerspectiveOptionsBuilder () |
Creates a builder for the Perspective Options dialog. | |
NXOpen::ReferenceSet * | CreateReferenceSet () |
Creates a ReferenceSet object. | |
NXOpen::CurveCollection * | Curves () |
Returns the CurveCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::DatumCollection * | Datums () |
Returns the DatumCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::Display::DecalCollection * | Decals () |
Returns the Display.DecalCollection instance belonging to this part Created in NX3.0.0. | |
void | DeleteReferenceSet (NXOpen::ReferenceSet *referenceSetObject) |
Deletes a ReferenceSet object Created in NX6.0.0. | |
NXOpen::Optimization::DesignStudyCollection * | DesignStudy () |
Returns the design study instance belonging to this part Created in NX3.0.0. | |
NXOpen::DirectionCollection * | Directions () |
Returns the DirectionCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::Display::DynamicSectionCollection * | DynamicSections () |
Returns the Display.DynamicSectionCollection instance belonging to this part Created in NX6.0.0. | |
NXOpen::EllipseCollection * | Ellipses () |
Returns the EllipseCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::ExpressionCollection * | Expressions () |
Returns the ExpressionCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::Fields::FieldManager * | FieldManager () |
Returns the field main. | |
NXOpen::FontCollection * | Fonts () |
Returns the FontCollection instance belonging to this part Created in NX3.0.0. | |
NXString | FullPath () |
Returns the full path of the part Created in NX3.0.0. | |
NXOpen::CAE::FunctionCollection * | Functions () |
Returns the CAE.FunctionCollection for this part Created in NX5.0.0. | |
std::vector < NXOpen::ReferenceSet * > | GetAllReferenceSets () |
Get all the ReferenceSet objects in this part. | |
std::vector < NXOpen::BasePart::HistoryEventInformation > | GetHistoryInformation () |
Get history of part. | |
NXOpen::BasePart::IncompleteStatus | GetIncompleteStatus () |
Inquire whether the provided part is flagged as being incomplete. | |
NXString | GetMakeUniqueName () |
Gets the Unique name on a part for the Make Unique operation. | |
void | GetPreviewImage (int *width, int *height, std::vector< int > &pixels) |
Get the preview image This will return the graphic preview image of the part (when available). | |
NXOpen::BasePart::TransientStatus | GetTransientStatus () |
Inquire whether the provided part is flagged as being transient. | |
NXOpen::Display::GridCollection * | Grids () |
Returns the Display.GridCollection instance belonging to this part Created in NX6.0.0. | |
NXOpen::HyperbolaCollection * | Hyperbolas () |
Returns the HyperbolaCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::Gateway::ImageCaptureManager * | ImageCaptureManager () |
Returns the Gateway.ImageCaptureManager instance belonging to this part Created in NX7.5.0. | |
NXOpen::InfiniteLineCollection * | InfiniteLines () |
Returns the InfiniteLineCollection instance belonging to this part Created in NX7.5.0. | |
bool | IsFullyLoaded () |
Returns the load status of a part. | |
bool | IsReadOnly () |
Returns the read-only status of a part. | |
NXOpen::Layer::CategoryCollection * | LayerCategories () |
Returns a collection of layer categories Created in NX3.0.0. | |
NXOpen::Layer::LayerManager * | Layers () |
Returns the LayerManager for this part Created in NX3.0.0. | |
NXOpen::LayoutCollection * | Layouts () |
Returns the LayoutCollection instance belonging to this part Created in NX3.0.0. | |
NXString | Leaf () |
Returns the leaf name of the part Created in NX3.0.0. | |
NXOpen::LightCollection * | Lights () |
Returns the LightCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::LineCollection * | Lines () |
Returns the LineCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::PartLoadStatus * | LoadFeatureDataForSelection () |
Ensure that feature data is loaded for a part. | |
NXOpen::PartLoadStatus * | LoadFully () |
Ensures that this part is fully loaded. | |
NXOpen::PartLoadStatus * | LoadThisPartFully () |
Ensures that this part is fully loaded. | |
NXOpen::MaterialManager * | MaterialManager () |
Returns the Material Manager belonging to this Part Created in NX3.0.0. | |
NXOpen::MeasureManager * | MeasureManager () |
Returns the measure manager for this part Created in NX3.0.0. | |
NXOpen::ModelingViewCollection * | ModelingViews () |
Returns the ModelingViewCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::NXMatrixCollection * | NXMatrices () |
Returns the NXMatrixCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::OffsetCollection * | Offsets () |
Returns the OffsetCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::Optimization::OptimizationCollection * | Optimization () |
Returns the optimization instance belonging to this part Created in NX3.0.0. | |
NXOpen::ParabolaCollection * | Parabolas () |
Returns the ParabolaCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::BasePart::PartPreview | PartPreviewMode () |
Returns the preview mode Created in NX3.0.0. | |
NXOpen::BasePart::Units | PartUnits () |
Returns the units of the part file. | |
NXOpen::PDM::PdmPart * | PDMPart () |
Returns the instance of the PDM.PdmPart class Created in NX3.0.0. | |
NXOpen::PlaneCollection * | Planes () |
Return a collection of Planes Created in NX3.0.0. | |
NXOpen::PlotManager * | PlotManager () |
Returns the PlotManager instance belonging to this part Created in NX3.0.0. | |
NXOpen::PointCollection * | Points () |
Returns the PointCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::Preferences::PartPreferences * | Preferences () |
Returns the PartPreferences instance belonging to this part Created in NX3.0.0. | |
NXOpen::PropertiesManager * | PropertiesManager () |
Returns the PropertiesManager instance belonging to this part Created in NX8.0.0. | |
void | ReinstateTransience () |
Reinstate the transient status to the formerly transient input part Created in NX4.0.0. | |
void | RemoveTransience () |
Remove the transient status from the input part Created in NX4.0.0. | |
NXOpen::BasePart * | Reopen (NXOpen::BasePart::CloseWholeTree wholeTree, NXOpen::BasePart::CloseModified closeModified, NXOpen::PartCloseResponses *responses, NXOpen::PartReopenReport **reopenReport) |
Reopens a loaded part. | |
NXOpen::BasePart * | ReopenAs (const NXString &fileName, NXOpen::BasePart::CloseModified closeModified, NXOpen::PartCloseResponses *responses, NXOpen::PartReopenReport **reopenReport) |
Reopens a loaded part. | |
void | ReverseBlankAll () |
Reverse blank all the objects in the part. | |
NXOpen::RuleManager * | RuleManager () |
Returns the rule manager for this part Created in NX3.0.0. | |
NXOpen::PartSaveStatus * | Save (NXOpen::BasePart::SaveComponents saveComponentParts, NXOpen::BasePart::CloseAfterSave close) |
Saves the part whether it is modified or not. | |
NXOpen::PartSaveStatus * | SaveAs (const NXString &newFileName) |
Creates copy of target part. | |
void | SaveBookmark (const NXString &fileName, NXOpen::BasePart::BookmarkOption option) |
Saves a bookmark file. | |
NXOpen::PartSaveOptions * | SaveOptions () |
Returns the PartSaveOptions instance belonging to this part Created in NX3.0.0. | |
NXOpen::ScalarCollection * | Scalars () |
Returns the ScalarCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::ScCollectorCollection * | ScCollectors () |
Returns the ScCollectorCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::SectionCollection * | Sections () |
Returns the SectionCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::Display::SelPrefCollection * | SelPref () |
Returns the Display.SelPrefCollection instance belonging to this part Created in NX3.0.0. | |
void | SetMakeUniqueName (const NXString &newUniqueName) |
Sets the unique name on part for the Make Unique operation Created in NX8.0.0. | |
void | SetPartPreviewMode (NXOpen::BasePart::PartPreview mode) |
Sets the preview mode Created in NX3.0.0. | |
void | SetUniqueIdentifier (const NXString &identifier) |
Sets the unique identifier for this part used to determine whether parts can be quietly substituted during part open. | |
NXOpen::Display::TrueShadingCollection * | SHEDObjs () |
Returns the Display.TrueShadingCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::SplineCollection * | Splines () |
Returns the SplineCollection instance belonging to this part Created in NX5.0.0. | |
NXOpen::Display::TrueStudioCollection * | TrueStudioObjs () |
Returns the Display.TrueStudioCollection instance belonging to this part Created in NX8.0.0. | |
NXString | UniqueIdentifier () |
Returns the unique identifier for this part used to determine whether parts can be quietly substituted during part open. | |
NXOpen::UnitCollection * | UnitCollection () |
Returns a collection of Units Created in NX3.0.0. | |
NXOpen::UserDefinedObjects::UserDefinedObjectManager * | UserDefinedObjectManager () |
Returns the UserDefinedObjects::UserDefinedObjectManager belonging to this session Created in NX3.0.0. | |
NXOpen::ValidationCollection * | Validations () |
Returns the validation for this part Created in NX3.0.0. | |
NXOpen::ViewCollection * | Views () |
Returns the ViewCollection instance belonging to this part Created in NX3.0.0. | |
NXOpen::WCS * | WCS () |
Returns the WCS instance belonging to this part Created in NX3.0.0. | |
NXOpen::XformCollection * | Xforms () |
Returns the XformCollection instance belonging to this part Created in NX3.0.0. |
Base class for an NX part.
Use the NXOpen::PartCollection class to load or create a part. Use NXOpen::PartCollection::Work to obtain the current work part.
Created in NX4.0.0.
Indicates how part close should handle component parts when they are modified.
CloseModifiedUseResponses |
Use the responses in PartCloseResponses to determine whether to close a modified part or not. |
CloseModifiedCloseModified |
Close all modified parts. |
CloseModifiedDontCloseModified |
Do not close any modified parts. |
Reimplemented in NXOpen::Part.
The units of the part file.
Reimplemented in NXOpen::Part.
Returns the GeometricAnalysisManager for part
Created in NX5.0.0.
Returns the ArcCollection instance belonging to this part
Created in NX3.0.0.
Returns the NXOpen::Assemblies::ProductOutlineManager belonging to this session
Created in NX6.0.0.
Returns the NXOpen::Assemblies::AssemblyManager belonging to this session
Created in NX6.0.0.
void NXOpen::BasePart::AssignPermanentName | ( | const NXString & | newFileName | ) |
Saves a temporary part with the given name.
Created in NX5.0.0.
License requirements : None
newFileName | name of new part file to create NOTE: The full Unicode character set is not supported for this parameter. |
Returns the AxisCollection instance belonging to this part
Created in NX3.0.0.
Returns the FeatureCollection instance belonging to this part
Created in NX3.0.0.
Returns the Display.CameraCollection instance belonging to this part
Created in NX3.0.0.
Returns the CAMFeatureCollection instance belonging to this part
Created in NX7.5.0.
void NXOpen::BasePart::Close | ( | NXOpen::BasePart::CloseWholeTree | wholeTree, |
NXOpen::BasePart::CloseModified | closeModified, | ||
NXOpen::PartCloseResponses * | responses | ||
) |
Closes an open part.
Created in NX4.0.0.
License requirements : None
wholeTree | If true, unloads all components of the part. If false, unloads only the top-level part |
closeModified | Behavior of close if component parts are modified. |
responses | Class representing list of parts to close or leave open if modified. Only used if closed_modified is set to BasePart::CloseModifiedUseResponses . If BasePart::CloseModifiedUseResponses is set, then any parts that are candidates for being closed that are not in this list will be closed whether modified or not. See PartCloseResponses for how to add responses to this class. |
Manages the standard NX colors
Created in NX3.0.0.
void NXOpen::BasePart::CompleteStructure | ( | ) |
Make additions necessary to complete the incomplete assembly structure of the input part
Created in NX4.0.0.
License requirements : None
Returns the component assembly.
Created in NX3.0.0.
License requirements : None
Returns the CoordinateSystemCollection instance belonging to this part
Created in NX3.0.0.
NXOpen::Display::DynamicSectionBuilder* NXOpen::BasePart::CreateDynamicSectionBuilder | ( | bool | loadFromView | ) |
Creates a Display::DynamicSectionBuilder The base part must be a displayable part, otherwise an exception will be thrown.
By default, the section builder uses the current work view. The current work view must be a modeling view, otherwise an exception will be thrown.
This method has been deprecated. Use BasePart::DynamicSections to create a section builder.
Created in NX5.0.0.
License requirements : None
loadFromView | If true, reads section information from working view. Otherwise, default section is created. |
Creates a builder for the Facet Settings dialog.
Creates a Groups builder.
group | group |
Creates a builder for the Perspective Options dialog.
Creates a ReferenceSet object.
Returns the CurveCollection instance belonging to this part
Created in NX3.0.0.
Returns the DatumCollection instance belonging to this part
Created in NX3.0.0.
Returns the Display.DecalCollection instance belonging to this part
Created in NX3.0.0.
void NXOpen::BasePart::DeleteReferenceSet | ( | NXOpen::ReferenceSet * | referenceSetObject | ) |
Deletes a ReferenceSet object
Created in NX6.0.0.
License requirements : None
referenceSetObject | Reference set object to be deleted |
Returns the design study instance belonging to this part
Created in NX3.0.0.
Returns the DirectionCollection instance belonging to this part
Created in NX3.0.0.
Returns the Display.DynamicSectionCollection instance belonging to this part
Created in NX6.0.0.
Returns the EllipseCollection instance belonging to this part
Created in NX3.0.0.
Returns the ExpressionCollection instance belonging to this part
Created in NX3.0.0.
Returns the field main.
Created in NX4.0.0.
License requirements : None
Returns the FontCollection instance belonging to this part
Created in NX3.0.0.
Returns the full path of the part
Created in NX3.0.0.
License requirements : None
Returns the CAE.FunctionCollection for this part
Created in NX5.0.0.
std::vector<NXOpen::ReferenceSet *> NXOpen::BasePart::GetAllReferenceSets | ( | ) |
Get all the ReferenceSet objects in this part.
Get history of part.
Inquire whether the provided part is flagged as being incomplete.
Gets the Unique name on a part for the Make Unique operation.
void NXOpen::BasePart::GetPreviewImage | ( | int * | width, |
int * | height, | ||
std::vector< int > & | pixels | ||
) |
Get the preview image This will return the graphic preview image of the part (when available).
The call returns the image width and height and a single array of integer RGB pixels. The total number of pixels is width * height. Each 32 bit integer pixel contains 8 bit values for the red, green and blue color components and the alpha channel is not used and set to 255. The byte order corresponds to the .NET method System.Drawing.Color.FromArgb, so the order is ARGB. For Java the byte order and data corresponds to the BufferedImage type TYPE_INT_RGB. The pixels at an xy location can be found as (y*width+x) where x is from 0 to width-1, and y indexes from 0 to height-1. The RGB pixels can be loaded into an appropriate image tool such as the Java BufferedImage class for display.
Created in NX5.0.2.
License requirements : None
width | image width |
height | image height |
pixels | Array of pixels |
Inquire whether the provided part is flagged as being transient.
Returns the Display.GridCollection instance belonging to this part
Created in NX6.0.0.
Returns the HyperbolaCollection instance belonging to this part
Created in NX3.0.0.
Returns the Gateway.ImageCaptureManager instance belonging to this part
Created in NX7.5.0.
Returns the InfiniteLineCollection instance belonging to this part
Created in NX7.5.0.
bool NXOpen::BasePart::IsFullyLoaded | ( | ) |
Returns the load status of a part.
Set to true if part is fully loaded and set to false if the part is partially loaded.
Created in NX3.0.0.
License requirements : None
bool NXOpen::BasePart::IsReadOnly | ( | ) |
Returns the read-only status of a part.
Set to true if part is read-only and set to false if the part is modifiable.
Created in NX5.0.2.
License requirements : None
Returns a collection of layer categories
Created in NX3.0.0.
Returns the LayerManager for this part
Created in NX3.0.0.
Returns the LayoutCollection instance belonging to this part
Created in NX3.0.0.
Returns the leaf name of the part
Created in NX3.0.0.
License requirements : None
Returns the LightCollection instance belonging to this part
Created in NX3.0.0.
Returns the LineCollection instance belonging to this part
Created in NX3.0.0.
Ensure that feature data is loaded for a part.
Ensures that this part is fully loaded.
If the part is already fully loaded (BasePart::IsFullyLoaded returns true) then this method has no effect.
Ensures that this part is fully loaded.
If the part is already fully loaded (BasePart::IsFullyLoaded returns true) then this method has no effect. Does not load any components regardless of the current load option.
Returns the measure manager for this part
Created in NX3.0.0.
Returns the ModelingViewCollection instance belonging to this part
Created in NX3.0.0.
Returns the NXMatrixCollection instance belonging to this part
Created in NX3.0.0.
Returns the OffsetCollection instance belonging to this part
Created in NX3.0.0.
Returns the optimization instance belonging to this part
Created in NX3.0.0.
Returns the ParabolaCollection instance belonging to this part
Created in NX3.0.0.
Returns the preview mode
Created in NX3.0.0.
License requirements : None
Returns the units of the part file.
Created in NX3.0.0.
License requirements : None
Returns the instance of the PDM.PdmPart class
Created in NX3.0.0.
Return a collection of Planes
Created in NX3.0.0.
Returns the PlotManager instance belonging to this part
Created in NX3.0.0.
Returns the PointCollection instance belonging to this part
Created in NX3.0.0.
Returns the PartPreferences instance belonging to this part
Created in NX3.0.0.
Returns the PropertiesManager instance belonging to this part
Created in NX8.0.0.
Reinstate the transient status to the formerly transient input part
Created in NX4.0.0.
License requirements : None
void NXOpen::BasePart::RemoveTransience | ( | ) |
Remove the transient status from the input part
Created in NX4.0.0.
License requirements : None
NXOpen::BasePart* NXOpen::BasePart::Reopen | ( | NXOpen::BasePart::CloseWholeTree | wholeTree, |
NXOpen::BasePart::CloseModified | closeModified, | ||
NXOpen::PartCloseResponses * | responses, | ||
NXOpen::PartReopenReport ** | reopenReport | ||
) |
Reopens a loaded part.
wholeTree | If true, unloads all components of the part. If false, unloads only the top-level part |
closeModified | Behavior of close if component parts are modified. |
responses | Class representing list of parts to close or leave open if modified. Only used if closed_modified is set to BasePart::CloseModifiedUseResponses . If BasePart::CloseModifiedUseResponses is set, then any parts that are candidates for being closed that are not in this list will be closed whether modified or not. See PartCloseResponses for how to add responses to this class. |
reopenReport | Report containing results of reopen command |
NXOpen::BasePart* NXOpen::BasePart::ReopenAs | ( | const NXString & | fileName, |
NXOpen::BasePart::CloseModified | closeModified, | ||
NXOpen::PartCloseResponses * | responses, | ||
NXOpen::PartReopenReport ** | reopenReport | ||
) |
Reopens a loaded part.
fileName | name of part file to open NOTE: The full Unicode character set is not supported for this parameter. |
closeModified | Behavior of close if component parts are modified. |
responses | Class representing list of parts to close or leave open if modified. Only used if closed_modified is set to BasePart::CloseModifiedUseResponses . If BasePart::CloseModifiedUseResponses is set, then any parts that are candidates for being closed that are not in this list will be closed whether modified or not. See PartCloseResponses for how to add responses to this class. |
reopenReport | Report containing results of reopen command |
void NXOpen::BasePart::ReverseBlankAll | ( | ) |
Reverse blank all the objects in the part.
Created in NX4.0.0.
License requirements : None
Returns the rule manager for this part
Created in NX3.0.0.
NXOpen::PartSaveStatus* NXOpen::BasePart::Save | ( | NXOpen::BasePart::SaveComponents | saveComponentParts, |
NXOpen::BasePart::CloseAfterSave | close | ||
) |
Saves the part whether it is modified or not.
saveComponentParts | The part's components are saved if modified if this parameter is set to BasePart::SaveComponentsTrue . |
close | The part is closed if this parameter is set to BasePart::CloseAfterSaveTrue . |
NXOpen::PartSaveStatus* NXOpen::BasePart::SaveAs | ( | const NXString & | newFileName | ) |
Creates copy of target part.
newFileName | name of new part file to create NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::BasePart::SaveBookmark | ( | const NXString & | fileName, |
NXOpen::BasePart::BookmarkOption | option | ||
) |
Saves a bookmark file.
Created in NX4.0.0.
License requirements : None
fileName | Name of bookmark file. NOTE: The full Unicode character set is not supported for this parameter. |
option | option |
Returns the PartSaveOptions instance belonging to this part
Created in NX3.0.0.
Returns the ScalarCollection instance belonging to this part
Created in NX3.0.0.
Returns the ScCollectorCollection instance belonging to this part
Created in NX3.0.0.
Returns the SectionCollection instance belonging to this part
Created in NX3.0.0.
Returns the Display.SelPrefCollection instance belonging to this part
Created in NX3.0.0.
void NXOpen::BasePart::SetMakeUniqueName | ( | const NXString & | newUniqueName | ) |
Sets the unique name on part for the Make Unique operation
Created in NX8.0.0.
License requirements : assemblies ("ASSEMBLIES MODULE")
newUniqueName | NOTE: The full Unicode character set is not supported for this parameter. |
Sets the preview mode
Created in NX3.0.0.
License requirements : None
mode | mode |
void NXOpen::BasePart::SetUniqueIdentifier | ( | const NXString & | identifier | ) |
Sets the unique identifier for this part used to determine whether parts can be quietly substituted during part open.
When set if the input value is the empty string a new unqiue uid is allocated for the part otherwise the supplied uid is used.
Created in NX6.0.5.
License requirements : None
identifier | identifier |
Returns the Display.TrueShadingCollection instance belonging to this part
Created in NX3.0.0.
Returns the SplineCollection instance belonging to this part
Created in NX5.0.0.
Returns the Display.TrueStudioCollection instance belonging to this part
Created in NX8.0.0.
Returns the unique identifier for this part used to determine whether parts can be quietly substituted during part open.
When set if the input value is the empty string a new unqiue uid is allocated for the part otherwise the supplied uid is used.
Created in NX6.0.5.
License requirements : None
Returns a collection of Units
Created in NX3.0.0.
NXOpen::UserDefinedObjects::UserDefinedObjectManager* NXOpen::BasePart::UserDefinedObjectManager | ( | ) |
Returns the UserDefinedObjects::UserDefinedObjectManager belonging to this session
Created in NX3.0.0.
Returns the validation for this part
Created in NX3.0.0.
Returns the ViewCollection instance belonging to this part
Created in NX3.0.0.
Returns the WCS instance belonging to this part
Created in NX3.0.0.
Returns the XformCollection instance belonging to this part
Created in NX3.0.0.