NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Assemblies::ProductOutlineBuilder Class Reference

Represents a builder NXOpen::Assemblies::ProductOutlineBuilder . More...

Inheritance diagram for NXOpen::Assemblies::ProductOutlineBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  LineFont {
  LineFontSolid, LineFontDashed, LineFontPhantom, LineFontCenterline,
  LineFontDotted, LineFontLongdash, LineFontDotdash
}
 Represents the line font types. More...
 

Public Member Functions

NXOpen::Assemblies::ProductOutlineBuilder::LineFont LineFontType ()
 Returns the line font type for the objects defined in Product Outline. More...
 
NXOpen::NXColorOutlineColor ()
 Returns the color for all the objects defined in Product Outline. More...
 
bool OverrideColor ()
 Returns the flag to override-color switch. More...
 
NXOpen::SelectDisplayableObjectListSelectObject ()
 Returns the objects defined in Product Outline. More...
 
void SetLineFontType (NXOpen::Assemblies::ProductOutlineBuilder::LineFont lineFontType)
 Sets the line font type for the objects defined in Product Outline. More...
 
void SetOutlineColor (NXOpen::NXColor *outlineColor)
 Sets the color for all the objects defined in Product Outline. More...
 
void SetOverrideColor (bool overrideColor)
 Sets the flag to override-color switch. More...
 
void SetTranslucency (int translucency)
 Sets the translucency of faceted bodies/objects defined in Product Outline. More...
 
int Translucency ()
 Returns the translucency of faceted bodies/objects defined in Product Outline. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a builder NXOpen::Assemblies::ProductOutlineBuilder .

Input to this class can be PSM facet objects.
To create a new instance of this class, use NXOpen::Assemblies::ProductOutlineManager::CreateProductOutlineBuilder
Default values.

Property Value

LineFontType

Solid

OverrideColor

false

Translucency

50


Created in NX6.0.0.

Member Enumeration Documentation

Represents the line font types.

Enumerator
LineFontSolid 

Solid Line.

LineFontDashed 

Dashed Line.

LineFontPhantom 

Phantom Line.

LineFontCenterline 

Center Line.

LineFontDotted 

Dotted Line.

LineFontLongdash 

Longdash Line.

LineFontDotdash 

Dotdash Line.

Member Function Documentation

NXOpen::Assemblies::ProductOutlineBuilder::LineFont NXOpen::Assemblies::ProductOutlineBuilder::LineFontType ( )

Returns the line font type for the objects defined in Product Outline.

The font types are mentioned in NXOpen::Assemblies::ProductOutlineBuilder::LineFont .


Created in NX6.0.0.

License requirements : None

NXOpen::NXColor* NXOpen::Assemblies::ProductOutlineBuilder::OutlineColor ( )

Returns the color for all the objects defined in Product Outline.

The range is 1-216
Created in NX6.0.0.

License requirements : None

bool NXOpen::Assemblies::ProductOutlineBuilder::OverrideColor ( )

Returns the flag to override-color switch.

If "true" the facet representation is in original color of selected object, else representation is in the color defined by NXOpen::Assemblies::ProductOutlineBuilder::OutlineColor .


Created in NX6.0.0.

License requirements : None

NXOpen::SelectDisplayableObjectList* NXOpen::Assemblies::ProductOutlineBuilder::SelectObject ( )

Returns the objects defined in Product Outline.


Created in NX6.0.0.

License requirements : None

void NXOpen::Assemblies::ProductOutlineBuilder::SetLineFontType ( NXOpen::Assemblies::ProductOutlineBuilder::LineFont  lineFontType)

Sets the line font type for the objects defined in Product Outline.

The font types are mentioned in NXOpen::Assemblies::ProductOutlineBuilder::LineFont .


Created in NX6.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
lineFontTypelinefonttype
void NXOpen::Assemblies::ProductOutlineBuilder::SetOutlineColor ( NXOpen::NXColor outlineColor)

Sets the color for all the objects defined in Product Outline.

The range is 1-216
Created in NX6.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
outlineColoroutlinecolor
void NXOpen::Assemblies::ProductOutlineBuilder::SetOverrideColor ( bool  overrideColor)

Sets the flag to override-color switch.

If "true" the facet representation is in original color of selected object, else representation is in the color defined by NXOpen::Assemblies::ProductOutlineBuilder::OutlineColor .


Created in NX6.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
overrideColoroverridecolor
void NXOpen::Assemblies::ProductOutlineBuilder::SetTranslucency ( int  translucency)

Sets the translucency of faceted bodies/objects defined in Product Outline.

The range is 0-100.
Created in NX6.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
translucencytranslucency
int NXOpen::Assemblies::ProductOutlineBuilder::Translucency ( )

Returns the translucency of faceted bodies/objects defined in Product Outline.

The range is 0-100.
Created in NX6.0.0.

License requirements : None


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.