NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::CAM::WorkInstructionBuilder Class Reference

Represents the builder for Work Instruction
To create a new instance of this class, use NXOpen::CAM::CAMSetup::CreateWorkInstructionBuilder

Created in NX9.0.3. More...

Inheritance diagram for NXOpen::CAM::WorkInstructionBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Member Functions

void ActivateCapturedView ()
 Activate the captured view for a view item
Created in NX9.0.3. More...
 
int AddSheet ()
 Add a Work Instruction sheet. More...
 
NXString CameraName ()
 Returns the selected camera
Created in NX9.0.3. More...
 
void CaptureCurrentView ()
 Capture the current view using a new camera
Created in NX9.0.3. More...
 
void CommitItem ()
 Commit the current item
Created in NX9.0.3. More...
 
void CommitMaster ()
 Commit the current master
Created in NX9.0.3. More...
 
void DeleteSheet (int sheetNum)
 Delete a Work Instruction sheet
Created in NX9.0.3. More...
 
void DeleteViewCamera ()
 Delete the view camera
Created in NX9.0.3. More...
 
NXString Drawing ()
 Returns the selected drawing
More...
 
NXOpen::NXObjectDrawingSheet ()
 Returns the selected drawing sheet
Created in NX11.0.1. More...
 
NXString FontFace ()
 Returns the text font face
Created in NX9.0.3. More...
 
int FontSize ()
 Returns the text font size
Created in NX9.0.3. More...
 
std::vector< NXStringGetRichText ()
 Returns the multi line text. More...
 
std::vector< double > GetTextColor ()
 Returns the text color. More...
 
NXString ImageFile ()
 Returns the selected image
Created in NX9.0.3. More...
 
NXString ItemName ()
 Returns the work instruction item name
Created in NX9.0.3. More...
 
void MoveSheet (int sheetNum, bool up)
 Move a Work Instruction sheet
Created in NX9.0.3. More...
 
bool NoBackground ()
 Returns the no background option
Created in NX11.0.1. More...
 
NXString OperListProgramGroup ()
 Returns the selected Program Group for Operation List
Created in NX9.0.3. More...
 
void RestorePreviousView ()
 Restore the previous view
Created in NX9.0.3. More...
 
void SetCameraName (const NXString &cameraName)
 Sets the selected camera
Created in NX9.0.3. More...
 
void SetCameraName (const char *cameraName)
 Sets the selected camera
Created in NX9.0.3. More...
 
void SetDrawing (const NXString &drawing)
 Sets the selected drawing
More...
 
void SetDrawing (const char *drawing)
 Sets the selected drawing
More...
 
void SetDrawingSheet (NXOpen::NXObject *drawingSheet)
 Sets the selected drawing sheet
Created in NX11.0.1. More...
 
void SetFontFace (const NXString &fontFace)
 Sets the text font face
Created in NX9.0.3. More...
 
void SetFontFace (const char *fontFace)
 Sets the text font face
Created in NX9.0.3. More...
 
void SetFontSize (int fontSize)
 Sets the text font size
Created in NX9.0.3. More...
 
void SetImageFile (const NXString &imageFile)
 Sets the selected image
Created in NX9.0.3. More...
 
void SetImageFile (const char *imageFile)
 Sets the selected image
Created in NX9.0.3. More...
 
void SetItemName (const NXString &itemName)
 Sets the work instruction item name
Created in NX9.0.3. More...
 
void SetItemName (const char *itemName)
 Sets the work instruction item name
Created in NX9.0.3. More...
 
void SetNoBackground (bool noBackground)
 Sets the no background option
Created in NX11.0.1. More...
 
void SetOperListProgramGroup (const NXString &programGroupName)
 Sets the selected Program Group for Operation List
Created in NX9.0.3. More...
 
void SetOperListProgramGroup (const char *programGroupName)
 Sets the selected Program Group for Operation List
Created in NX9.0.3. More...
 
void SetRichText (const std::vector< NXString > &multiLineText)
 Sets the multi line text
Created in NX9.0.3. More...
 
void SetSheetNumber (int sheetNumber)
 Sets the work instruction sheet number
Created in NX9.0.3. More...
 
void SetSheetTitle (const NXString &sheetTitle)
 Sets the user defined Sheet Title
Created in NX9.0.3. More...
 
void SetSheetTitle (const char *sheetTitle)
 Sets the user defined Sheet Title
Created in NX9.0.3. More...
 
void SetTemplateName (const NXString &templateName)
 Sets the template name
Created in NX9.0.3. More...
 
void SetTemplateName (const char *templateName)
 Sets the template name
Created in NX9.0.3. More...
 
void SetTextColor (const std::vector< double > &textColor)
 Sets the text color
Created in NX9.0.3. More...
 
void SetTimeEstimate (double timeEstimate)
 Sets the estimated time to execute these instructions
Created in NX9.0.3. More...
 
void SetToolDisplayMotion (int eventType, int eventIndex)
 Sets the tool display path event type and index
Created in NX11.0.1. More...
 
void SetToolListProgramGroup (const NXString &programGroupName)
 Sets the selected Program Group for Tool List
Created in NX9.0.3. More...
 
void SetToolListProgramGroup (const char *programGroupName)
 Sets the selected Program Group for Tool List
Created in NX9.0.3. More...
 
void SetToolSetupSheet (const NXString &toolSetupSheet)
 Sets the selected tool setup sheet
Created in NX11.0.1. More...
 
void SetToolSetupSheet (const char *toolSetupSheet)
 Sets the selected tool setup sheet
Created in NX11.0.1. More...
 
void SetVideoFile (const NXString &videoFile)
 Sets the selected video
Created in NX9.0.3. More...
 
void SetVideoFile (const char *videoFile)
 Sets the selected video
Created in NX9.0.3. More...
 
void SetViewTool (bool show)
 Sets the show tool option
Created in NX11.0.1. More...
 
int SheetNumber ()
 Returns the work instruction sheet number
Created in NX9.0.3. More...
 
NXString SheetTitle ()
 Returns the user defined Sheet Title
Created in NX9.0.3. More...
 
void SpecifyDrawingSheet (const NXString &partName, const NXString &drawingName)
 Specify a drawing sheet in a component
Created in NX11.0.1. More...
 
void SpecifyDrawingSheet (const char *partName, const char *drawingName)
 Specify a drawing sheet in a component
Created in NX11.0.1. More...
 
NXString TemplateName ()
 Returns the template name
Created in NX9.0.3. More...
 
double TimeEstimate ()
 Returns the estimated time to execute these instructions
Created in NX9.0.3. More...
 
NXString ToolListProgramGroup ()
 Returns the selected Program Group for Tool List
Created in NX9.0.3. More...
 
NXString ToolSetupSheet ()
 Returns the selected tool setup sheet
Created in NX11.0.1. More...
 
void UpdateItemsInCurrentSheet (std::vector< NXString > &itemNames)
 Update the items for the current sheet
Created in NX9.0.3. More...
 
NXString VideoFile ()
 Returns the selected video
Created in NX9.0.3. More...
 
bool ViewTool ()
 Returns the show tool option
Created in NX11.0.1. 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 the builder for Work Instruction
To create a new instance of this class, use NXOpen::CAM::CAMSetup::CreateWorkInstructionBuilder

Created in NX9.0.3.


Member Function Documentation

void NXOpen::CAM::WorkInstructionBuilder::ActivateCapturedView ( )

Activate the captured view for a view item
Created in NX9.0.3.



License requirements : None

int NXOpen::CAM::WorkInstructionBuilder::AddSheet ( )

Add a Work Instruction sheet.

Returns

Created in NX9.0.3.

License requirements : nx_wi_authoring (" NX Work Instruction Authoring")
NXString NXOpen::CAM::WorkInstructionBuilder::CameraName ( )

Returns the selected camera
Created in NX9.0.3.



License requirements : None

void NXOpen::CAM::WorkInstructionBuilder::CaptureCurrentView ( )

Capture the current view using a new camera
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

void NXOpen::CAM::WorkInstructionBuilder::CommitItem ( )

Commit the current item
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

void NXOpen::CAM::WorkInstructionBuilder::CommitMaster ( )

Commit the current master
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

void NXOpen::CAM::WorkInstructionBuilder::DeleteSheet ( int  sheetNum)

Delete a Work Instruction sheet
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
sheetNumsheetnum
void NXOpen::CAM::WorkInstructionBuilder::DeleteViewCamera ( )

Delete the view camera
Created in NX9.0.3.



License requirements : None

NXString NXOpen::CAM::WorkInstructionBuilder::Drawing ( )

Returns the selected drawing

Deprecated:
Deprecated in NX11.0.1.

Use CAM::WorkInstructionBuilder::SetDrawingSheet instead.


Created in NX9.0.3.

License requirements : None

NXOpen::NXObject* NXOpen::CAM::WorkInstructionBuilder::DrawingSheet ( )

Returns the selected drawing sheet
Created in NX11.0.1.



License requirements : None

NXString NXOpen::CAM::WorkInstructionBuilder::FontFace ( )

Returns the text font face
Created in NX9.0.3.



License requirements : None

int NXOpen::CAM::WorkInstructionBuilder::FontSize ( )

Returns the text font size
Created in NX9.0.3.



License requirements : None

std::vector<NXString> NXOpen::CAM::WorkInstructionBuilder::GetRichText ( )

Returns the multi line text.

Returns

Created in NX9.0.3.

License requirements : None
std::vector<double> NXOpen::CAM::WorkInstructionBuilder::GetTextColor ( )

Returns the text color.

Returns
Array of 3 RGB values, each between 0 and 1
Created in NX9.0.3.

License requirements : None
NXString NXOpen::CAM::WorkInstructionBuilder::ImageFile ( )

Returns the selected image
Created in NX9.0.3.



License requirements : None

NXString NXOpen::CAM::WorkInstructionBuilder::ItemName ( )

Returns the work instruction item name
Created in NX9.0.3.



License requirements : None

void NXOpen::CAM::WorkInstructionBuilder::MoveSheet ( int  sheetNum,
bool  up 
)

Move a Work Instruction sheet
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
sheetNumsheetnum
upup
bool NXOpen::CAM::WorkInstructionBuilder::NoBackground ( )

Returns the no background option
Created in NX11.0.1.



License requirements : None

NXString NXOpen::CAM::WorkInstructionBuilder::OperListProgramGroup ( )

Returns the selected Program Group for Operation List
Created in NX9.0.3.



License requirements : None

void NXOpen::CAM::WorkInstructionBuilder::RestorePreviousView ( )

Restore the previous view
Created in NX9.0.3.



License requirements : None

void NXOpen::CAM::WorkInstructionBuilder::SetCameraName ( const NXString cameraName)

Sets the selected camera
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
cameraNamecameraname
void NXOpen::CAM::WorkInstructionBuilder::SetCameraName ( const char *  cameraName)

Sets the selected camera
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
cameraNamecameraname
void NXOpen::CAM::WorkInstructionBuilder::SetDrawing ( const NXString drawing)

Sets the selected drawing

Deprecated:
Deprecated in NX11.0.1.

Use CAM::WorkInstructionBuilder::SetDrawingSheet instead.


Created in NX9.0.3.

License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
drawingdrawing
void NXOpen::CAM::WorkInstructionBuilder::SetDrawing ( const char *  drawing)

Sets the selected drawing

Deprecated:
Deprecated in NX11.0.1.

Use CAM::WorkInstructionBuilder::SetDrawingSheet instead.


Created in NX9.0.3.

License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
drawingdrawing
void NXOpen::CAM::WorkInstructionBuilder::SetDrawingSheet ( NXOpen::NXObject drawingSheet)

Sets the selected drawing sheet
Created in NX11.0.1.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
drawingSheetthe drawing sheet
void NXOpen::CAM::WorkInstructionBuilder::SetFontFace ( const NXString fontFace)

Sets the text font face
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
fontFacefontface
void NXOpen::CAM::WorkInstructionBuilder::SetFontFace ( const char *  fontFace)

Sets the text font face
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
fontFacefontface
void NXOpen::CAM::WorkInstructionBuilder::SetFontSize ( int  fontSize)

Sets the text font size
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
fontSizefontsize
void NXOpen::CAM::WorkInstructionBuilder::SetImageFile ( const NXString imageFile)

Sets the selected image
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
imageFileimagefile
void NXOpen::CAM::WorkInstructionBuilder::SetImageFile ( const char *  imageFile)

Sets the selected image
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
imageFileimagefile
void NXOpen::CAM::WorkInstructionBuilder::SetItemName ( const NXString itemName)

Sets the work instruction item name
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
itemNameitemname
void NXOpen::CAM::WorkInstructionBuilder::SetItemName ( const char *  itemName)

Sets the work instruction item name
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
itemNameitemname
void NXOpen::CAM::WorkInstructionBuilder::SetNoBackground ( bool  noBackground)

Sets the no background option
Created in NX11.0.1.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
noBackgroundnobackground
void NXOpen::CAM::WorkInstructionBuilder::SetOperListProgramGroup ( const NXString programGroupName)

Sets the selected Program Group for Operation List
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
programGroupNameprogramgroupname
void NXOpen::CAM::WorkInstructionBuilder::SetOperListProgramGroup ( const char *  programGroupName)

Sets the selected Program Group for Operation List
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
programGroupNameprogramgroupname
void NXOpen::CAM::WorkInstructionBuilder::SetRichText ( const std::vector< NXString > &  multiLineText)

Sets the multi line text
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
multiLineTextmultilinetext
void NXOpen::CAM::WorkInstructionBuilder::SetSheetNumber ( int  sheetNumber)

Sets the work instruction sheet number
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
sheetNumbersheetnumber
void NXOpen::CAM::WorkInstructionBuilder::SetSheetTitle ( const NXString sheetTitle)

Sets the user defined Sheet Title
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
sheetTitlesheettitle
void NXOpen::CAM::WorkInstructionBuilder::SetSheetTitle ( const char *  sheetTitle)

Sets the user defined Sheet Title
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
sheetTitlesheettitle
void NXOpen::CAM::WorkInstructionBuilder::SetTemplateName ( const NXString templateName)

Sets the template name
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
templateNametemplatename
void NXOpen::CAM::WorkInstructionBuilder::SetTemplateName ( const char *  templateName)

Sets the template name
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
templateNametemplatename
void NXOpen::CAM::WorkInstructionBuilder::SetTextColor ( const std::vector< double > &  textColor)

Sets the text color
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
textColorArray of 3 RGB values, each between 0 and 1
void NXOpen::CAM::WorkInstructionBuilder::SetTimeEstimate ( double  timeEstimate)

Sets the estimated time to execute these instructions
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
timeEstimatetimeestimate
void NXOpen::CAM::WorkInstructionBuilder::SetToolDisplayMotion ( int  eventType,
int  eventIndex 
)

Sets the tool display path event type and index
Created in NX11.0.1.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
eventTypethe path event type
eventIndexthe path event index
void NXOpen::CAM::WorkInstructionBuilder::SetToolListProgramGroup ( const NXString programGroupName)

Sets the selected Program Group for Tool List
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
programGroupNameprogramgroupname
void NXOpen::CAM::WorkInstructionBuilder::SetToolListProgramGroup ( const char *  programGroupName)

Sets the selected Program Group for Tool List
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
programGroupNameprogramgroupname
void NXOpen::CAM::WorkInstructionBuilder::SetToolSetupSheet ( const NXString toolSetupSheet)

Sets the selected tool setup sheet
Created in NX11.0.1.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
toolSetupSheetthe tool setup sheet
void NXOpen::CAM::WorkInstructionBuilder::SetToolSetupSheet ( const char *  toolSetupSheet)

Sets the selected tool setup sheet
Created in NX11.0.1.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
toolSetupSheetthe tool setup sheet
void NXOpen::CAM::WorkInstructionBuilder::SetVideoFile ( const NXString videoFile)

Sets the selected video
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
videoFilevideofile
void NXOpen::CAM::WorkInstructionBuilder::SetVideoFile ( const char *  videoFile)

Sets the selected video
Created in NX9.0.3.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
videoFilevideofile
void NXOpen::CAM::WorkInstructionBuilder::SetViewTool ( bool  show)

Sets the show tool option
Created in NX11.0.1.



License requirements : nx_wi_authoring (" NX Work Instruction Authoring")

Parameters
showshow
int NXOpen::CAM::WorkInstructionBuilder::SheetNumber ( )

Returns the work instruction sheet number
Created in NX9.0.3.



License requirements : None

NXString NXOpen::CAM::WorkInstructionBuilder::SheetTitle ( )

Returns the user defined Sheet Title
Created in NX9.0.3.



License requirements : None

void NXOpen::CAM::WorkInstructionBuilder::SpecifyDrawingSheet ( const NXString partName,
const NXString drawingName 
)

Specify a drawing sheet in a component
Created in NX11.0.1.



License requirements : None

Parameters
partNamepartname
drawingNamedrawingname
void NXOpen::CAM::WorkInstructionBuilder::SpecifyDrawingSheet ( const char *  partName,
const char *  drawingName 
)

Specify a drawing sheet in a component
Created in NX11.0.1.



License requirements : None

Parameters
partNamepartname
drawingNamedrawingname
NXString NXOpen::CAM::WorkInstructionBuilder::TemplateName ( )

Returns the template name
Created in NX9.0.3.



License requirements : None

double NXOpen::CAM::WorkInstructionBuilder::TimeEstimate ( )

Returns the estimated time to execute these instructions
Created in NX9.0.3.



License requirements : None

NXString NXOpen::CAM::WorkInstructionBuilder::ToolListProgramGroup ( )

Returns the selected Program Group for Tool List
Created in NX9.0.3.



License requirements : None

NXString NXOpen::CAM::WorkInstructionBuilder::ToolSetupSheet ( )

Returns the selected tool setup sheet
Created in NX11.0.1.



License requirements : None

void NXOpen::CAM::WorkInstructionBuilder::UpdateItemsInCurrentSheet ( std::vector< NXString > &  itemNames)

Update the items for the current sheet
Created in NX9.0.3.



License requirements : cam_base ("CAM BASE")

Parameters
itemNamesthe string array
NXString NXOpen::CAM::WorkInstructionBuilder::VideoFile ( )

Returns the selected video
Created in NX9.0.3.



License requirements : None

bool NXOpen::CAM::WorkInstructionBuilder::ViewTool ( )

Returns the show tool option
Created in NX11.0.1.



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.