NXOpen .NET Reference
12.0.0
|
Represents a NXOpen.Report.CommandBuilder . More...
Public Types | |
enum | UserInputLocation { BeforeAutomation, AfterAutomation } |
Represents the user input location in command. More... | |
Public Member Functions | |
unsafe void | GetHint (out string[] commandHint) |
Gets the command hint More... | |
unsafe void | SetHint (string[] commandHint) |
Sets the command hint More... | |
unsafe void | SetNamespaces (string[] pNamespaces) |
Sets the categories which command apply to. More... | |
unsafe void | GetNamespaces (out string[] pNamespaces) |
Gets the categories which command apply to. More... | |
unsafe NXOpen.Report.BaseArgument | AddArgument (NXOpen.Report.BaseArgument.Type argumentType) |
Adds an argument and adds it to the command. More... | |
unsafe void | GetArguments (out NXOpen.Report.BaseArgument[] pArguments) |
Gets all arguments in the command. More... | |
unsafe void | RemoveArguments (NXOpen.Report.BaseArgument[] pArguments) |
Removes the arguments. More... | |
unsafe NXOpen.Report.UserInput | AddUserInput (NXOpen.Report.CommandBuilder.UserInputLocation userInputLocation, NXOpen.Report.UserInput.Type userInputType) |
Adds an user input and adds it to command. More... | |
unsafe void | GetUserInputs (NXOpen.Report.CommandBuilder.UserInputLocation userInputLocation, out NXOpen.Report.UserInput[] pUserInputs) |
Gets all user inputs. More... | |
unsafe void | RemoveUserInputs (NXOpen.Report.CommandBuilder.UserInputLocation userInputLocation, NXOpen.Report.UserInput[] pUserInputs) |
Removes the user inputs. More... | |
unsafe void | MoveUserInputs (NXOpen.Report.CommandBuilder.UserInputLocation userInputLocation, NXOpen.Report.UserInput[] pUserInputs, bool isBeforeRefUserInput, NXOpen.Report.UserInput pRefUserInputs) |
Moves the user inputs to the new position. 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... | |
Properties | |
unsafe bool | Active [get, set] |
Returns or sets a value that indicates whether the command is active or not. More... | |
unsafe string | DisplayName [get, set] |
Returns or sets the command display name More... | |
unsafe string | Name [get, set] |
Returns or sets the command name More... | |
unsafe NXOpen.Report.ProgramInformation | ProgramInformation [get] |
Returns the automation program information object. More... | |
Represents a NXOpen.Report.CommandBuilder .
To create a new instance of this class, use NXOpen.Report.CommandManager.CreateCommandBuilder
Created in NX11.0.0
unsafe NXOpen.Report.BaseArgument NXOpen.Report.CommandBuilder.AddArgument | ( | NXOpen.Report.BaseArgument.Type | argumentType | ) |
Adds an argument and adds it to the command.
Created in NX11.0.0
License requirements: None.
argumentType |
unsafe NXOpen.Report.UserInput NXOpen.Report.CommandBuilder.AddUserInput | ( | NXOpen.Report.CommandBuilder.UserInputLocation | userInputLocation, |
NXOpen.Report.UserInput.Type | userInputType | ||
) |
Adds an user input and adds it to command.
Created in NX11.0.0
License requirements: None.
userInputLocation | |
userInputType |
unsafe void NXOpen.Report.CommandBuilder.GetArguments | ( | out NXOpen.Report.BaseArgument[] | pArguments | ) |
Gets all arguments in the command.
Created in NX11.0.0
License requirements: None.
pArguments |
unsafe void NXOpen.Report.CommandBuilder.GetHint | ( | out string[] | commandHint | ) |
Gets the command hint
Created in NX11.0.0
License requirements: None.
commandHint |
unsafe void NXOpen.Report.CommandBuilder.GetNamespaces | ( | out string[] | pNamespaces | ) |
Gets the categories which command apply to.
Created in NX11.0.0
License requirements: None.
pNamespaces |
unsafe void NXOpen.Report.CommandBuilder.GetUserInputs | ( | NXOpen.Report.CommandBuilder.UserInputLocation | userInputLocation, |
out NXOpen.Report.UserInput[] | pUserInputs | ||
) |
Gets all user inputs.
Created in NX11.0.0
License requirements: None.
userInputLocation | |
pUserInputs |
unsafe void NXOpen.Report.CommandBuilder.MoveUserInputs | ( | NXOpen.Report.CommandBuilder.UserInputLocation | userInputLocation, |
NXOpen.Report.UserInput[] | pUserInputs, | ||
bool | isBeforeRefUserInput, | ||
NXOpen.Report.UserInput | pRefUserInputs | ||
) |
Moves the user inputs to the new position.
Created in NX11.0.0
License requirements: None.
userInputLocation | |
pUserInputs | |
isBeforeRefUserInput | |
pRefUserInputs | the target reference user input |
unsafe void NXOpen.Report.CommandBuilder.RemoveArguments | ( | NXOpen.Report.BaseArgument[] | pArguments | ) |
Removes the arguments.
Created in NX11.0.0
License requirements: None.
pArguments |
unsafe void NXOpen.Report.CommandBuilder.RemoveUserInputs | ( | NXOpen.Report.CommandBuilder.UserInputLocation | userInputLocation, |
NXOpen.Report.UserInput[] | pUserInputs | ||
) |
Removes the user inputs.
Created in NX11.0.0
License requirements: None.
userInputLocation | |
pUserInputs |
unsafe void NXOpen.Report.CommandBuilder.SetHint | ( | string[] | commandHint | ) |
Sets the command hint
Created in NX11.0.0
License requirements: None.
commandHint |
unsafe void NXOpen.Report.CommandBuilder.SetNamespaces | ( | string[] | pNamespaces | ) |
Sets the categories which command apply to.
Created in NX11.0.0
License requirements: None.
pNamespaces |
|
getset |
Returns or sets a value that indicates whether the command is active or not.
Created in NX11.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the command display name
Created in NX11.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the command name
Created in NX11.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
get |
Returns the automation program information object.
Created in NX11.0.0
License requirements: None.