InstantiateTemplateBulkBuilder Class¶
-
class
NXOpen.AME.InstantiateTemplateBulkBuilder¶ Bases:
NXOpen.AME.MultipleObjectsBuilderJA class for the insert Eng object dialog
To create a new instance of this class, use
NXOpen.AME.AMEManager.CreateInstantiateTemplateBulkBuilder()Default values.
Property Value InsertSettings.AspectPlacement false InsertSettings.CopiesPerParent 1 ShowInAutomation false ShowInFunction false ShowInLocation false ShowInProduct false New in version NX12.0.0.
Properties¶
| Property | Description |
|---|---|
| AspectDetails | Returns the aspect details ui block |
| CopyDocumentStructure | Returns or sets the copy document structure flag to decide whether to copy document structure |
| FragmentLocation | Returns or sets the co-ordinate of fragment placement location |
| InsertSettings | Returns the aspect placement toggle setting |
| PlacementValue | Returns or sets the placement type |
| ReuseLibraryItem | Returns the reuse library selection item |
| SelectedFragmentTag | Returns or sets the tag of selected fragment object |
| SelectedObjects | Returns the select object |
| ShowInAutomation | Returns or sets the show in automation |
| ShowInFunction | Returns or sets the show in function |
| ShowInLocation | Returns or sets the show in location |
| ShowInProduct | Returns or sets the show in product |
| Tag | Returns the Tag for this object. |
| TemplateInstance | Returns the created instance |
| UnloadTemplate | Returns or sets the unload template flag to indicate if template should be unloaded after instantiation |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| Destroy | Deletes the builder, and cleans up any objects created by the builder. |
| GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
| GetNewObjects | Get the commited Aspect |
| GetObject | Returns the object currently being edited by this builder. |
| GetProjectFromPartFileName | Get Project from part file |
| ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| InstantiateTemplateBulkBuilderPlacementType Enumeration | Choices for placement type, can be Place in Navigator or Place on Page |
Property Detail¶
AspectDetails¶
-
InstantiateTemplateBulkBuilder.AspectDetails¶ Returns the aspect details ui block
-------------------------------------Getter Method
Signature
AspectDetailsReturns: Return type: NXOpen.AME.AspectDetailsBuilderNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
CopyDocumentStructure¶
-
InstantiateTemplateBulkBuilder.CopyDocumentStructure¶ Returns or sets the copy document structure flag to decide whether to copy document structure
-------------------------------------Getter Method
Signature
CopyDocumentStructureReturns: Return type: bool New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
CopyDocumentStructureParameters: copyDocumentStructure (bool) – New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
FragmentLocation¶
-
InstantiateTemplateBulkBuilder.FragmentLocation¶ Returns or sets the co-ordinate of fragment placement location
-------------------------------------Getter Method
Signature
FragmentLocationReturns: Return type: NXOpen.Point2dNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
FragmentLocationParameters: fragmentLocation ( NXOpen.Point2d) –New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
InsertSettings¶
-
InstantiateTemplateBulkBuilder.InsertSettings¶ Returns the aspect placement toggle setting
-------------------------------------Getter Method
Signature
InsertSettingsReturns: Return type: NXOpen.AME.InsertSettingsBuilderNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
PlacementValue¶
-
InstantiateTemplateBulkBuilder.PlacementValue¶ Returns or sets the placement type
-------------------------------------Getter Method
Signature
PlacementValueReturns: Return type: NXOpen.AME.InstantiateTemplateBulkBuilderPlacementTypeNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
PlacementValueParameters: placementType ( NXOpen.AME.InstantiateTemplateBulkBuilderPlacementType) –New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
ReuseLibraryItem¶
-
InstantiateTemplateBulkBuilder.ReuseLibraryItem¶ Returns the reuse library selection item
-------------------------------------Getter Method
Signature
ReuseLibraryItemReturns: Return type: NXOpen.Tooling.SelectReuseLibraryItemBuilderNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
SelectedFragmentTag¶
-
InstantiateTemplateBulkBuilder.SelectedFragmentTag¶ Returns or sets the tag of selected fragment object
-------------------------------------Getter Method
Signature
SelectedFragmentTagReturns: Return type: NXOpen.AME.FragmentObjectNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
SelectedFragmentTagParameters: selectedFragmentTag ( NXOpen.AME.FragmentObject) –New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
SelectedObjects¶
-
InstantiateTemplateBulkBuilder.SelectedObjects¶ Returns the select object
-------------------------------------Getter Method
Signature
SelectedObjectsReturns: Return type: NXOpen.AME.SelectAMEBaseNodeListNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
ShowInAutomation¶
-
InstantiateTemplateBulkBuilder.ShowInAutomation¶ Returns or sets the show in automation
-------------------------------------Getter Method
Signature
ShowInAutomationReturns: Return type: bool New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
ShowInAutomationParameters: showInAutomation (bool) – New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
ShowInFunction¶
-
InstantiateTemplateBulkBuilder.ShowInFunction¶ Returns or sets the show in function
-------------------------------------Getter Method
Signature
ShowInFunctionReturns: Return type: bool New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
ShowInFunctionParameters: showInFunction (bool) – New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
ShowInLocation¶
-
InstantiateTemplateBulkBuilder.ShowInLocation¶ Returns or sets the show in location
-------------------------------------Getter Method
Signature
ShowInLocationReturns: Return type: bool New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
ShowInLocationParameters: showInLocation (bool) – New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
ShowInProduct¶
-
InstantiateTemplateBulkBuilder.ShowInProduct¶ Returns or sets the show in product
-------------------------------------Getter Method
Signature
ShowInProductReturns: Return type: bool New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
ShowInProductParameters: showInProduct (bool) – New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
TemplateInstance¶
-
InstantiateTemplateBulkBuilder.TemplateInstance¶ Returns the created instance
-------------------------------------Getter Method
Signature
TemplateInstanceReturns: Return type: NXOpen.NXObjectNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
UnloadTemplate¶
-
InstantiateTemplateBulkBuilder.UnloadTemplate¶ Returns or sets the unload template flag to indicate if template should be unloaded after instantiation
-------------------------------------Getter Method
Signature
UnloadTemplateReturns: Return type: bool New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
UnloadTemplateParameters: unloadTemplate (bool) – New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
Method Detail¶
GetProjectFromPartFileName¶
-
InstantiateTemplateBulkBuilder.GetProjectFromPartFileName¶ Get Project from part file
Signature
GetProjectFromPartFileName()Returns: Return type: NXOpen.AME.ProjectNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
Validate¶
-
InstantiateTemplateBulkBuilder.Validate¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.