NewParameter
The NewParameter event notifies the client when a new Parameter is created.
Remarks
New parameters can be created explicitly by the end-user using the Add button on the Parameters dialog and they are also created implicitly as the result of placing dimension constraints and constructing features. This event provides notification is both cases.
EventNames:
NewParameter_Pre
NewParameter_Post
Examples:
NewParameter_Pre:
Register-InventorEvent -EventName NewParameter_Pre -Action 'PreNewParameter'
function PreNewParameter() {
#Write event code here
}
NewParameter_Post:
Register-InventorEvent -EventName NewParameter_Post -Action 'PostNewParameter'
function PostNewParameter() {
#Write event code here
}