|
NX Open C++ 参考指南 2406 v1.1
|
添加可重用部件 更多...
#include <Tooling_AddReusablePart.hxx>
Public 类型 | |
| enum | ComponentMode { ComponentModeNormal = 1 , ComponentModeCadenas = 3 } |
| enum | ModeMethod { ModeMethodAdd = 1 , ModeMethodEdit } |
| enum | PocketBodyMethod { PocketBodyMethodNone = 1 , PocketBodyMethodUpdate , PocketBodyMethodDelete } |
| enum | PositionMethod { PositionMethodInvalid = -1 , PositionMethodAbsolute , PositionMethodMate , PositionMethodReposition , PositionMethodWcs , PositionMethodPosition , PositionMethodPoint = 15 , PositionMethodInferredOny , PositionMethodRouting } |
友元 | |
| class | _AddReusablePartBuilder |
添加可重用部件
表示一个 @link NXOpen::Tooling::AddReusablePart NXOpen::Tooling::AddReusablePart@endlink
<br> 要创建此类的新实例,请使用 @link NXOpen::Tooling::AddReusablePartCollection::CreateBuilder NXOpen::Tooling::AddReusablePartCollection::CreateBuilder @endlink <br>
默认值。
<list type="table">
<listheader><term>
属性</term> <description>
值</description> </listheader>
<item><term>
ComponentPatternBuilder.PatternService.AlongPathDefinition.XOnPathSpacing.NCopies.Value </term> <description>
2 </description> </item>
<item><term>
ComponentPatternBuilder.PatternService.AlongPathDefinition.XOnPathSpacing.SpaceType </term> <description>
偏移量 </description> </item>
<item><term>
ComponentPatternBuilder.PatternService.AlongPathDefinition.XPathOption </term> <description>
偏移量 </description> </item>
<item><term>
ComponentPatternBuilder.PatternService.AlongPathDefinition.YDirectionOption </term> <description>
截面 </description> </item>
<item><term>
ComponentPatternBuilder.PatternService.AlongPathDefinition.YOnPathSpacing.NCopies.Value </term> <description>
1 </description> </item>
<item><term>
ComponentPatternBuilder.PatternService.AlongPathDefinition.YPathOption </term> <description>
偏移量 </description> </item>
<item><term>
ComponentPatternBuilder.PatternService.AlongPathDefinition.YSpacing.NCopies.Value </term> <description>
1 </description> </item>
<item><term>
ComponentPatternBuilder.PatternService.AlongPathDefinition.YSpacing.PitchDistance.Value </term> <description>
10 (毫米零件), 1 (英寸零件) </description> </item>
<item><term>
ComponentPatternBuilder.PatternService.AlongPathDefinition.YSpacing.SpaceType </term> <description>
偏移量 </description> </item>
<item><term>
ComponentPatternBuilder.PatternService.AlongPathDefinition.YSpacing.SpanDistance.Value </term> <description>
100 (毫米零件), 10 (英寸零件) </description> </item>
<item><term>
ComponentPatternBuilder.PatternService.CircularDefinition.AngularSpacing.NCopies.Value </term> <description>
12 </description> </item>
<item><term>
ComponentPatternBuilder.PatternService.CircularDefinition.AngularSpacing.PitchAngle.Value </term> <description>
30 </description> </item>
<item><term>
ComponentPatternBuilder.PatternService.CircularDefinition.AngularSpacing.PitchDistance.Value </term> <description>
10 (毫米零件), 1 (英寸零件) </description> </item>
<item><term>
ComponentPatternBuilder.PatternService.CircularDefinition.AngularSpacing.SpaceType </term> <description>
偏移量 </description> </item>
<item><term>
ComponentPatternBuilder.PatternService.CircularDefinition.AngularSpacing.SpanAngle.Value </term> <description>
360 (毫米零件), 360 (英寸零件) </description> </item>
ComponentPatternBuilder.PatternService.CircularDefinition.AngularSpacing.UsePitchOption Angle ComponentPatternBuilder.PatternService.CircularDefinition.CreateLastStaggered true ComponentPatternBuilder.PatternService.CircularDefinition.HorizontalRef.RotationAngle.Value 0 (millimeters part), 0 (inches part) ComponentPatternBuilder.PatternService.CircularDefinition.IncludeSeedToggle true ComponentPatternBuilder.PatternService.CircularDefinition.RadialSpacing.NCopies.Value 1 ComponentPatternBuilder.PatternService.CircularDefinition.StaggerType None ComponentPatternBuilder.PatternService.HelixDefinition.AnglePitch.Value 30 ComponentPatternBuilder.PatternService.HelixDefinition.CountOfInstances.Value 6 ComponentPatternBuilder.PatternService.HelixDefinition.DirectionType Righthand ComponentPatternBuilder.PatternService.HelixDefinition.DistancePitch.Value 10 (millimeters part), 0.4 (inches part) ComponentPatternBuilder.PatternService.HelixDefinition.HelixPitch.Value 50 (millimeters part), 2 (inches part) ComponentPatternBuilder.PatternService.HelixDefinition.HelixSpan.Value 100 (millimeters part), 4 (inches part) ComponentPatternBuilder.PatternService.HelixDefinition.NumberOfTurns.Value 2 ComponentPatternBuilder.PatternService.HelixDefinition.SizeOption CountAngleDistance ComponentPatternBuilder.PatternService.PatternFill.FillMargin.Value 0 (millimeters part), 0 (inches part) ComponentPatternBuilder.PatternService.PatternFill.FillOptions None ComponentPatternBuilder.PatternService.PatternFill.SimplifiedBoundaryToggle False ComponentPatternBuilder.PatternService.PatternOrientation.AlongOrientationOption NormalToPath ComponentPatternBuilder.PatternService.PatternOrientation.CircularOrientationOption FollowPattern ComponentPatternBuilder.PatternService.PatternOrientation.FollowFaceProjDirOption PatternPlaneNormal ComponentPatternBuilder.PatternService.PatternOrientation.GeneralOrientationOption Fixed ComponentPatternBuilder.PatternService.PatternOrientation.HelixOrientationOption FollowPattern ComponentPatternBuilder.PatternService.PatternOrientation.LinearOrientationOption Fixed ComponentPatternBuilder.PatternService.PatternOrientation.MirrorOrientationOption FollowPattern ComponentPatternBuilder.PatternService.PatternOrientation.OrientationOption Fixed ComponentPatternBuilder.PatternService.PatternOrientation.PolygonOrientationOption FollowPattern ComponentPatternBuilder.PatternService.PatternOrientation.SpiralOrientationOption FollowPattern ComponentPatternBuilder.PatternService.PatternType Linear ComponentPatternBuilder.PatternService.PolygonDefinition.NumberOfSides.Value 6 ComponentPatternBuilder.PatternService.PolygonDefinition.PolygonSizeOption Inscribed ComponentPatternBuilder.PatternService.PolygonDefinition.PolygonSpacing.NCopies.Value 4 ComponentPatternBuilder.PatternService.PolygonDefinition.PolygonSpacing.PitchDistance.Value 25 (millimeters part), 1 (inches part) ComponentPatternBuilder.PatternService.PolygonDefinition.PolygonSpacing.SpaceType Offset ComponentPatternBuilder.PatternService.PolygonDefinition.PolygonSpacing.SpanAngle.Value 360 ComponentPatternBuilder.PatternService.PolygonDefinition.RadialSpacing.NCopies.Value 1 ComponentPatternBuilder.PatternService.PolygonDefinition.RadialSpacing.PitchDistance.Value 25 (millimeters part), 1 (inches part) ComponentPatternBuilder.PatternService.PolygonDefinition.RadialSpacing.SpanDistance.Value 100 (millimeters part), 4 (inches part) ComponentPatternBuilder.PatternService.RectangularDefinition.CreateLastStaggered true ComponentPatternBuilder.PatternService.RectangularDefinition.SimplifiedLayoutType Square ComponentPatternBuilder.PatternService.RectangularDefinition.StaggerType None ComponentPatternBuilder.PatternService.RectangularDefinition.XSpacing.NCopies.Value 2 ComponentPatternBuilder.PatternService.RectangularDefinition.YSpacing.NCopies.Value 1 ComponentPatternBuilder.PatternService.SpiralDefinition.DirectionType Lefthand ComponentPatternBuilder.PatternService.SpiralDefinition.NumberOfTurns.Value 1 (millimeters part), 1 (inches part) ComponentPatternBuilder.PatternService.SpiralDefinition.RadialPitch.Value 50 (millimeters part), 2 (inches part) ComponentPatternBuilder.PatternService.SpiralDefinition.SizeSpiralType NumberOfTurns ComponentPatternBuilder.PatternService.SpiralDefinition.TotalAngle.Value 360 (millimeters part), 360 (inches part)
Created in NX5.0.0.
Represents save pocket body information, updating or deleting a pocket body size mode method
| 枚举值 | |
|---|---|
| PocketBodyMethodNone | Save pocket body information into attatched component |
| PocketBodyMethodUpdate | Update the existed pocket body size |
| PocketBodyMethodDelete | Delete pocket body |
Represents the position method
| 枚举值 | |
|---|---|
| PositionMethodInvalid | invalid |
| PositionMethodAbsolute | absolute |
| PositionMethodMate | mate |
| PositionMethodReposition | reposition |
| PositionMethodWcs | wcs |
| PositionMethodPosition | position |
| PositionMethodPoint | Position by point |
| PositionMethodInferredOny | inferred ony |
| PositionMethodRouting | Position using Routing |
| void NXOpen::Tooling::AddReusablePart::AddClonePartName | ( | const char * | clonedpartname | ) |
Adds clone part name
Created in NX9.0.0.
License requirements : None
| clonedpartname | The new clone part name |
| void NXOpen::Tooling::AddReusablePart::AddClonePartName | ( | const NXString & | clonedpartname | ) |
Adds clone part name
Created in NX9.0.0.
License requirements : None
| clonedpartname | The new clone part name |
| void NXOpen::Tooling::AddReusablePart::AddComponentMode | ( | NXOpen::Tooling::AddReusablePart::ModeMethod | modeMethod | ) |
为可重用组件添加模式
创建于 NX9.0.0。
许可要求:无
| modeMethod | 模式方法 |
| void NXOpen::Tooling::AddReusablePart::AddComponentProperty | ( | const char * | compName, |
| const char * | refsetName, | ||
| int | layer ) |
添加组件属性
创建于 NX9.0.0。
许可要求:无
| compName | 用于表示新组件的参考集的名称 |
| refsetName | 放置新组件的图层 |
| layer | 图层 |
| void NXOpen::Tooling::AddReusablePart::AddComponentProperty | ( | const NXString & | compName, |
| const NXString & | refsetName, | ||
| int | layer ) |
添加组件属性
创建于 NX9.0.0。
许可要求:无
| compName | 用于表示新组件的参考集的名称 |
| refsetName | 放置新组件的图层 |
| layer | 图层 |
| void NXOpen::Tooling::AddReusablePart::AddCriteriaToInstance | ( | bool | hasCriteria, |
| const char * | expStr, | ||
| const char * | addValue ) |
Sets criteria into instance
Created in NX11.0.0.
License requirements : None
| hasCriteria | hascriteria |
| expStr | expstr |
| addValue | addvalue |
| void NXOpen::Tooling::AddReusablePart::AddCriteriaToInstance | ( | bool | hasCriteria, |
| const NXString & | expStr, | ||
| const NXString & | addValue ) |
Sets criteria into instance
Created in NX11.0.0.
License requirements : None
| hasCriteria | hascriteria |
| expStr | expstr |
| addValue | addvalue |
| void NXOpen::Tooling::AddReusablePart::AddHoleInstance | ( | const NXOpen::Point3d & | inputDirection, |
| const NXOpen::Point3d & | inputPostion ) |
在孔中添加一系列可重用组件
创建于 NX9.0.0。
许可要求:无
| inputDirection | 组件的输入方向 |
| inputPostion | 组件的输入位置 |
| void NXOpen::Tooling::AddReusablePart::AddHoleInstanceForCsys | ( | const NXOpen::Point3d & | inputDirection, |
| const NXOpen::Point3d & | inputPostion, | ||
| NXOpen::NXObject * | selCsys ) |
在坐标系中添加一系列可重用组件
创建于 NX11.0.1。
许可要求:无
| inputDirection | 组件的输入方向 |
| inputPostion | 组件的输入位置 |
| selCsys | 组件的输入坐标系 |
| void NXOpen::Tooling::AddReusablePart::AddNewInstance | ( | NXOpen::Assemblies::Component * | partOcc, |
| int | index ) |
添加新实例
创建于 NX9.0.0。
许可要求:无
| partOcc | 将新的出现添加到零件数据中 |
| index | 组件实例的索引 |
| void NXOpen::Tooling::AddReusablePart::AddPartOccurance | ( | NXOpen::Assemblies::Component * | partOcc | ) |
将出现添加到零件数据中
创建于 NX9.0.0。
许可要求:无
| partOcc | 要添加到零件数据中的组件出现 |
| void NXOpen::Tooling::AddReusablePart::AddReuseablePartToPattern | ( | ) |
将添加的可重用部件添加到相关模式定义
创建于 NX2212.0.0。
许可要求:无
| void NXOpen::Tooling::AddReusablePart::AffirmReusableComponent | ( | ) |
Affirm insertion of the reusable component. To get the inserted reusable components, please use NXOpen::Tooling::AddReusablePart::AffirmReusableComponents instead.
Created in NX9.0.0.
License requirements : None
| std::vector< NXOpen::Assemblies::Component * > NXOpen::Tooling::AddReusablePart::AffirmReusableComponents | ( | ) |
Affirm insertion of the reusable component, and return the array of NXOpen::Assemblies::Component tag in the display part.
Created in NX1899.0.0.
License requirements : None
| void NXOpen::Tooling::AddReusablePart::AssignStructureDesignerAttributes | ( | ) |
Assign attribute to mounting feet part and solid body.
Created in NX1953.0.0.
License requirements : None
| NXOpen::Assemblies::ComponentPatternBuilder * NXOpen::Tooling::AddReusablePart::ComponentPatternBuilder | ( | ) |
Returns the current component pattern builder
Created in NX11.0.0.
License requirements : None
| NXOpen::Tooling::AddReusablePart::ComponentMode NXOpen::Tooling::AddReusablePart::ComponentType | ( | ) |
Returns the current component type
Created in NX11.0.0.
License requirements : None
| void NXOpen::Tooling::AddReusablePart::ConstructParametersData | ( | ) |
Constructs the parameters data, reads data from part family or spreadsheet and updates the parameter data in the part
Created in NX9.0.0.
License requirements : None
| NXOpen::Tooling::CloneObject * NXOpen::Tooling::AddReusablePart::CreateCloneObject | ( | NXOpen::Tooling::ToolingApplication | applicationType, |
| const char * | assemName ) |
Creates the clone operation object
| applicationType | Wizard type |
| assemName | Project assembly name |
| NXOpen::Tooling::CloneObject * NXOpen::Tooling::AddReusablePart::CreateCloneObject | ( | NXOpen::Tooling::ToolingApplication | applicationType, |
| const NXString & | assemName ) |
Creates the clone operation object
| applicationType | Wizard type |
| assemName | Project assembly name |
| void NXOpen::Tooling::AddReusablePart::CreateComponents | ( | int | count, |
| NXOpen::NXObject * | selobj ) |
Creates an array instance of a component
Created in NX9.0.0.
License requirements : None
| count | The count is array instance number |
| selobj | The selected object is FACE type, the reusable component place on the face |
| NXOpen::PartFamily::InstanceSelectionCriteria * NXOpen::Tooling::AddReusablePart::CreateCriteria | ( | const char * | expStr, |
| const char * | addValue ) |
Creates criteria
Created in NX2212.0.0.
License requirements : None
| expStr | expstr |
| addValue | addvalue |
| NXOpen::PartFamily::InstanceSelectionCriteria * NXOpen::Tooling::AddReusablePart::CreateCriteria | ( | const NXString & | expStr, |
| const NXString & | addValue ) |
Creates criteria
Created in NX2212.0.0.
License requirements : None
| expStr | expstr |
| addValue | addvalue |
| void NXOpen::Tooling::AddReusablePart::CreatePatternComponent | ( | bool | createPattern | ) |
Create the pattern component when the positioining pattern sketch feature is not exsit; edit pattern component when the positioining pattern feature is exsit
Created in NX11.0.0.
License requirements : None
| createPattern | Flag to decide whether to create pattern component or edit, set flag as true to create and set flag false to edit |
| void NXOpen::Tooling::AddReusablePart::CreatePositioningFeatureByPoint | ( | NXOpen::NXObject * | selobj, |
| const NXOpen::Point3d & | inputPosition, | ||
| bool | centerFace ) |
Create positioning feature on the given position
Created in NX1847.0.0.
License requirements : None
| selobj | The selected object is FACE type, the reusable component place on the face |
| inputPosition | The input position |
| centerFace | whether to use face center as location |
| void NXOpen::Tooling::AddReusablePart::CreatePositioningFeatureOnPoint | ( | NXOpen::NXObject * | selobj, |
| const NXOpen::Point3d & | inputPosition, | ||
| bool | centerFace ) |
Create positioning feature on the given position
Created in NX11.0.0.
License requirements : None
| selobj | The selected object is FACE type, the reusable component place on the face |
| inputPosition | The input position |
| centerFace | whether to use face center as location |
| void NXOpen::Tooling::AddReusablePart::CreateReusableConstraints | ( | int | index | ) |
Creates constraints for the reusable component
Created in NX9.0.0.
License requirements : None
| index | The index part is to create constraints |
| void NXOpen::Tooling::AddReusablePart::CreateReusablePocket | ( | bool | commit | ) |
Creates pocket for a reusable component
Created in NX9.0.0.
License requirements : None
| commit | if the variable is true, the component needs pocket |
| void NXOpen::Tooling::AddReusablePart::DelayComponents | ( | const std::vector< NXOpen::TaggedObject * > & | objs | ) |
设置组件的部件间延迟状态。
创建于 NX1953.0.0。
许可要求:无
| objs | objs |
| void NXOpen::Tooling::AddReusablePart::DeleteComponents | ( | int | count | ) |
删除组件的数组实例
创建于 NX9.0.0。
许可要求:无
| count | 数量是数组实例编号 |
| void NXOpen::Tooling::AddReusablePart::DeleteReusableConstraints | ( | ) |
Deletes constraints for the reusable component
Created in NX9.0.0.
License requirements : None
| void NXOpen::Tooling::AddReusablePart::DeleteReusablePocket | ( | ) |
Deletes pocket for a reusable component
Created in NX9.0.0.
License requirements : None
| void NXOpen::Tooling::AddReusablePart::DestroyReusableBuilder | ( | ) |
Destroys reusable builder data
Created in NX9.0.0.
License requirements : None
| void NXOpen::Tooling::AddReusablePart::EditReusableComponent | ( | NXOpen::Assemblies::Component * | partOcc | ) |
编辑可重用组件
创建于 NX9.0.0。
许可要求:无
| partOcc | 要在零件数据中编辑的组件出现 |
| NXOpen::Features::Feature * NXOpen::Tooling::AddReusablePart::FindPositioningFeatureSet | ( | ) |
Find the positioning feature set by pattern sketch
| NXOpen::NXObject * NXOpen::Tooling::AddReusablePart::GetAttachedGeometry | ( | ) |
Gets the attached geometry, this is mainly used to get the initial parameter
| NXOpen::Tooling::CloneObject * NXOpen::Tooling::AddReusablePart::GetCloneObject | ( | ) |
Gets the clone operation object
| std::vector< NXOpen::Assemblies::Component * > NXOpen::Tooling::AddReusablePart::GetDesignElement | ( | ) |
Gets an array of design elements
| NXOpen::Point3d NXOpen::Tooling::AddReusablePart::GetInitialPosition | ( | ) |
Gets the initial location, this is mainly used to get default add location of a reusable component
| NXOpen::Part * NXOpen::Tooling::AddReusablePart::GetParentPart | ( | ) |
Gets the parent part, this is mainly used to get context work part of a reusable component
| NXOpen::Tooling::ReusablePocketBuilder * NXOpen::Tooling::AddReusablePart::GetReusablePocketBuilder | ( | ) |
Gets the reusable pocket builder
| NXOpen::Tooling::SpreadsheetData * NXOpen::Tooling::AddReusablePart::GetSpreadsheetData | ( | ) |
Gets the spreadsheet data, this is mainly used to get the attributes of a reusable component
| void NXOpen::Tooling::AddReusablePart::InsertReusableComponent | ( | int | instIndex, |
| bool | needTransform ) |
将组件插入零件数据
创建于 NX9.0.0。
许可要求:无
| instIndex | 正在零件数据中添加的新组件的索引 |
| needTransform | 组件在紧固件装配中是否需要变换 |
| void NXOpen::Tooling::AddReusablePart::LoadReusableComponent | ( | const char * | krxFile | ) |
Loads the reusable component
Created in NX9.0.0.
License requirements : None
| krxFile | The KRX file |
| void NXOpen::Tooling::AddReusablePart::LoadReusableComponent | ( | const NXString & | krxFile | ) |
Loads the reusable component
Created in NX9.0.0.
License requirements : None
| krxFile | The KRX file |
| void NXOpen::Tooling::AddReusablePart::ModifyParametersByRow | ( | int | index | ) |
Modify parameters according to row index. The number of the row is defined by the template data file.
Created in NX11.0.0.
License requirements : None
| index | The index is the row of the template data file |
| void NXOpen::Tooling::AddReusablePart::MoveReusableComponent | ( | const NXOpen::Vector3d & | translation, |
| const NXOpen::Matrix3x3 & | rotation, | ||
| int | index ) |
Moves a reusable component to a selected position
Created in NX9.0.0.
License requirements : None
| translation | The translation data |
| rotation | The rotation data |
| index | The reusable component index in the part data |
| NXOpen::Sketch * NXOpen::Tooling::AddReusablePart::PositioningFeature | ( | ) |
Returns the positioning feature that needed for reusable component
Created in NX11.0.0.
License requirements : None
| NXOpen::CoordinateSystem * NXOpen::Tooling::AddReusablePart::PositioningFeatureSeedCsys | ( | ) |
返回定位特征的种子坐标系
创建于 NX2406.0.0。
许可要求:无
| NXOpen::Tooling::AddReusablePart::PositionMethod NXOpen::Tooling::AddReusablePart::PositionMode | ( | ) |
Returns the current position method
Created in NX5.0.0.
License requirements : None
| void NXOpen::Tooling::AddReusablePart::PostUpdate | ( | ) |
创建于 NX2206.0.0。
许可要求:无
| void NXOpen::Tooling::AddReusablePart::RecordReusableComponent | ( | const char * | fileName | ) |
Records the existing reusable component with the same name
Created in NX9.0.0.
License requirements : None
| fileName | The reusable component name |
| void NXOpen::Tooling::AddReusablePart::RecordReusableComponent | ( | const NXString & | fileName | ) |
Records the existing reusable component with the same name
Created in NX9.0.0.
License requirements : None
| fileName | The reusable component name |
| void NXOpen::Tooling::AddReusablePart::RemoveDesignElement | ( | ) |
Removes design element component
Created in NX9.0.0.
License requirements : None
| void NXOpen::Tooling::AddReusablePart::RemoveFamilyInstance | ( | NXOpen::Part * | part | ) |
Removes an instance of a part family member
Created in NX11.0.0.
License requirements : None
| part | part |
| void NXOpen::Tooling::AddReusablePart::RemoveOldInstance | ( | int | index | ) |
从零件数据中移除实例
创建于 NX9.0.0。
许可要求:无
| index | 组件实例的索引 |
| void NXOpen::Tooling::AddReusablePart::RemoveReusableComponent | ( | int | index | ) |
Removes a reusable component
Created in NX9.0.0.
License requirements : None
| index | The reusable component index in the part data |
| void NXOpen::Tooling::AddReusablePart::RenamePart | ( | const char * | partName | ) |
Sets reuse component name by rule if it is structure mountingfeet.
Created in NX1926.0.0.
License requirements : None
| partName | The reuse component name |
| void NXOpen::Tooling::AddReusablePart::RenamePart | ( | const NXString & | partName | ) |
Sets reuse component name by rule if it is structure mountingfeet.
Created in NX1926.0.0.
License requirements : None
| partName | The reuse component name |
| void NXOpen::Tooling::AddReusablePart::ReplaceReusableComponent | ( | ) |
Replace reusable component
Created in NX11.0.0.
License requirements : None
| bool NXOpen::Tooling::AddReusablePart::ReselectObject | ( | ) |
返回重新选择对象的标志
创建于 NX2406.0.0。
许可要求:无
| NXOpen::NXObject * NXOpen::Tooling::AddReusablePart::ReverseComponentDirection | ( | const NXOpen::Point3d & | inputPosition, |
| const NXOpen::Point3d & | inputDirection, | ||
| double | length, | ||
| const NXOpen::Point3d & | outputPosition, | ||
| const NXOpen::Point3d & | outputDirection ) |
Reverses the direction of the reusable component if the reusable component is placed on a face.
| inputPosition | The input position of componnent |
| inputDirection | The input direction of componnent |
| length | The input length of componnent |
| outputPosition | The output position of componnent |
| outputDirection | The output position of componnent |
| void NXOpen::Tooling::AddReusablePart::ReverseDirection | ( | ) |
Reverse mounting feet direction.
Created in NX1953.0.0.
License requirements : None
| void NXOpen::Tooling::AddReusablePart::ReversePreviewComponent | ( | const NXOpen::Point3d & | rememberDir | ) |
如果可重用组件未放置在面上,则反转其方向。
创建于 NX9.0.0。
许可要求:无
| rememberDir | 组件的原始位置 |
| void NXOpen::Tooling::AddReusablePart::SaveLibraryPath | ( | const char * | libName, |
| const char * | libpath ) |
Saves the library name and path of the reusable component
Created in NX9.0.0.
License requirements : None
| libName | Library name |
| libpath | The path in the library |
| void NXOpen::Tooling::AddReusablePart::SaveLibraryPath | ( | const NXString & | libName, |
| const NXString & | libpath ) |
Saves the library name and path of the reusable component
Created in NX9.0.0.
License requirements : None
| libName | Library name |
| libpath | The path in the library |
| void NXOpen::Tooling::AddReusablePart::SavePositioningOriginPlacement | ( | const char * | positionOffSet, |
| int | placementOriginIndex ) |
Keep positioning offset and placement index
Created in NX11.0.0.
License requirements : None
| positionOffSet | The positionging offset value that defined in the krx file |
| placementOriginIndex | The positioning placement origin index that defined in the krx file |
| void NXOpen::Tooling::AddReusablePart::SavePositioningOriginPlacement | ( | const NXString & | positionOffSet, |
| int | placementOriginIndex ) |
Keep positioning offset and placement index
Created in NX11.0.0.
License requirements : None
| positionOffSet | The positionging offset value that defined in the krx file |
| placementOriginIndex | The positioning placement origin index that defined in the krx file |
| void NXOpen::Tooling::AddReusablePart::SetAttachedGeometry | ( | NXOpen::NXObject * | part | ) |
Sets the attached geometry, this is mainly used to set the initial parameter
Created in NX9.0.0.
License requirements : None
| part | Geometry to calculate the initial parameter |
| void NXOpen::Tooling::AddReusablePart::SetCloneObject | ( | NXOpen::Tooling::CloneObject * | cloneObject | ) |
设置克隆操作对象
创建于 NX9.0.0。
许可要求:无
| cloneObject | 一个 NXOpen::Tooling::CloneObject 实例 |
| void NXOpen::Tooling::AddReusablePart::SetComponentHandleToPoint | ( | ) |
Keep the reusable component handle information into its associated pattern point
Created in NX11.0.0.
License requirements : None
| void NXOpen::Tooling::AddReusablePart::SetComponentPatternBuilder | ( | NXOpen::Assemblies::ComponentPatternBuilder * | patternComponentBuilderTag | ) |
Sets the current component pattern builder
Created in NX11.0.0.
License requirements : None
| patternComponentBuilderTag | The reusable component pattern builder |
| void NXOpen::Tooling::AddReusablePart::SetComponentProperties | ( | const char * | referenceSetName, |
| const char * | componentName, | ||
| int | layer ) |
Sets the reusable component properties
Created in NX9.0.0.
License requirements : None
| referenceSetName | The name of the reference set used to represent the new component |
| componentName | The name of the new component |
| layer | The layer to place the new component on |
| void NXOpen::Tooling::AddReusablePart::SetComponentProperties | ( | const NXString & | referenceSetName, |
| const NXString & | componentName, | ||
| int | layer ) |
Sets the reusable component properties
Created in NX9.0.0.
License requirements : None
| referenceSetName | The name of the reference set used to represent the new component |
| componentName | The name of the new component |
| layer | The layer to place the new component on |
| void NXOpen::Tooling::AddReusablePart::SetComponentToReplace | ( | int | index, |
| NXOpen::Assemblies::Component * | replaceComponent ) |
Sets the selected component to replace
Created in NX11.0.0.
License requirements : None
| index | The index for component to replace |
| replaceComponent | The component to replace |
| void NXOpen::Tooling::AddReusablePart::SetComponentType | ( | NXOpen::Tooling::AddReusablePart::ComponentMode | partType | ) |
Sets the current component type
Created in NX11.0.0.
License requirements : None
| partType | part type |
| void NXOpen::Tooling::AddReusablePart::SetEnablePreview | ( | bool | isTrunOn | ) |
Sets the toggle of the Preview widget
Created in NX9.0.0.
License requirements : None
| isTrunOn | Whehter preview toggle is turned on, which is on the add reusable component dialog |
| void NXOpen::Tooling::AddReusablePart::SetInitialPosition | ( | const NXOpen::Point3d & | dropLocation | ) |
Sets the initial location, this is mainly used to set default add location of a reusable component
Created in NX9.0.0.
License requirements : None
| dropLocation | Drop location to initial parameter |
| void NXOpen::Tooling::AddReusablePart::SetParentPart | ( | NXOpen::Part * | part | ) |
Sets the parent part, this is mainly used to set context work part of a reusable component
Created in NX9.0.0.
License requirements : None
| part | The parent part to place the component |
| void NXOpen::Tooling::AddReusablePart::SetPositioningFeature | ( | NXOpen::Sketch * | sketch | ) |
Sets the positioning feature that needed for reusable component
Created in NX11.0.0.
License requirements : None
| sketch | Positioning feature |
| void NXOpen::Tooling::AddReusablePart::SetPositioningFeatureSeedCsys | ( | NXOpen::CoordinateSystem * | seedCsys | ) |
设置定位特征的种子坐标系
创建于 NX2406.0.0。
许可要求:无
| seedCsys | Seed CSYS 标签 |
| void NXOpen::Tooling::AddReusablePart::SetPositionMode | ( | NXOpen::Tooling::AddReusablePart::PositionMethod | positionMode | ) |
Sets the current position method
Created in NX5.0.0.
License requirements : None
| positionMode | position mode |
| void NXOpen::Tooling::AddReusablePart::SetReplaceTemplate | ( | NXOpen::Part * | replaceTemplate | ) |
Sets the replace template part
Created in NX11.0.0.
License requirements : None
| replaceTemplate | The replace template part |
| void NXOpen::Tooling::AddReusablePart::SetReselectObject | ( | bool | isReselectObject | ) |
设置重新选择对象的标志
创建于 NX2406.0.0。
许可要求:无
| isReselectObject | 重新选择对象的标志 |
| void NXOpen::Tooling::AddReusablePart::SetReusablePocketBuilder | ( | NXOpen::Tooling::ReusablePocketBuilder * | pocketTag | ) |
Sets the reusable pocket builder
Created in NX9.0.0.
License requirements : None
| pocketTag | The reusable component pocket builder |
| void NXOpen::Tooling::AddReusablePart::SetSearchGeometry | ( | bool | isTrunOn | ) |
Sets the search geometry for a reusable component
Created in NX9.0.0.
License requirements : None
| isTrunOn | Whehter the search geometry toggle is turned on, which is on the add reusable component dialog |
| void NXOpen::Tooling::AddReusablePart::SetSpreadsheetData | ( | NXOpen::Tooling::SpreadsheetData * | spreadsheetData | ) |
Sets the spreadsheet data, this is mainly used to set the attributes of a reusable component
Created in NX9.0.0.
License requirements : None
| spreadsheetData | Spreadsheet data |
| void NXOpen::Tooling::AddReusablePart::SetStructureDesignerPart | ( | bool | isStructureDesigner | ) |
Sets isStructureDesigner flag if it is structure designer part.
Created in NX1926.0.0.
License requirements : None
| isStructureDesigner | The flag of Structure Designer |
| void NXOpen::Tooling::AddReusablePart::SetUpdateComponentName | ( | bool | updateComponentName | ) |
Sets the update component name for a reusable component
Created in NX12.0.0.
License requirements : None
| updateComponentName | Whehter the component name will be updated or not for copied part |
| void NXOpen::Tooling::AddReusablePart::SetWaveLink | ( | ) |
Sets wave link geometry of structure member as the parents if it is structure mountingfeet.
Created in NX1926.0.0.
License requirements : None
| void NXOpen::Tooling::AddReusablePart::SubtituteReusableComponent | ( | bool | substituteInstance | ) |
Subtitutes a reusable part
Created in NX9.0.0.
License requirements : None
| substituteInstance | Whether the resuable component needs to be substituted |
| void NXOpen::Tooling::AddReusablePart::UndelayComponentToUpdate | ( | NXOpen::Part * | obj | ) |
Sets the inter-part undelay status on the component.
Created in NX1953.0.0.
License requirements : None
| obj | obj |
| void NXOpen::Tooling::AddReusablePart::UpdateCadenasParameter | ( | const char * | paraName, |
| const char * | paraValue ) |
Updates the CADENAS component by given parameter name and value,
the name can also be retrieved by calling the following methods.
@link NXOpen::Tooling::AddReusablePart::GetSpreadsheetData NXOpen::Tooling::AddReusablePart::GetSpreadsheetData@endlink ,
@link NXOpen::Tooling::SpreadsheetData::GetParameterValue NXOpen::Tooling::SpreadsheetData::GetParameterValue@endlink ,
@link NXOpen::Tooling::SpreadsheetDataParameter::ParameterName NXOpen::Tooling::SpreadsheetDataParameter::ParameterName@endlink
Created in NX11.0.0.
License requirements : None
| paraName | The parameter name |
| paraValue | The parameter value |
| void NXOpen::Tooling::AddReusablePart::UpdateCadenasParameter | ( | const NXString & | paraName, |
| const NXString & | paraValue ) |
Updates the CADENAS component by given parameter name and value,
the name can also be retrieved by calling the following methods.
@link NXOpen::Tooling::AddReusablePart::GetSpreadsheetData NXOpen::Tooling::AddReusablePart::GetSpreadsheetData@endlink ,
@link NXOpen::Tooling::SpreadsheetData::GetParameterValue NXOpen::Tooling::SpreadsheetData::GetParameterValue@endlink ,
@link NXOpen::Tooling::SpreadsheetDataParameter::ParameterName NXOpen::Tooling::SpreadsheetDataParameter::ParameterName@endlink
Created in NX11.0.0.
License requirements : None
| paraName | The parameter name |
| paraValue | The parameter value |
| void NXOpen::Tooling::AddReusablePart::UpdateMountingFeetInfo | ( | NXOpen::Assemblies::Component * | partOcc | ) |
创建于 NX2206.0.0。
许可要求:无
| partOcc | partocc |
| void NXOpen::Tooling::AddReusablePart::UpdateParametersByConfiguration | ( | ) |
Updates parameters by configuration
Created in NX12.0.1.
License requirements : None
| void NXOpen::Tooling::AddReusablePart::UpdatePartData | ( | ) |
Updates the part data of a reusable component
Created in NX9.0.0.
License requirements : None
| void NXOpen::Tooling::AddReusablePart::UpdatePocketBody | ( | bool | createPattern, |
| NXOpen::Tooling::AddReusablePart::PocketBodyMethod | updatePocketBody ) |
Update pocket body for mw library reusable component
Created in NX11.0.0.
License requirements : None
| createPattern | Flag to decide whether to create pocket body pattern or not |
| updatePocketBody | Flag to decide whether to create pocket body, delete or update 0: add; 1: delete; 2:update |
| void NXOpen::Tooling::AddReusablePart::UpdatePositioningOffset | ( | const char * | positionOffSet | ) |
Update positioning offset
Created in NX11.0.0.
License requirements : None
| positionOffSet | The positionging offset value that defined in the krx file |
| void NXOpen::Tooling::AddReusablePart::UpdatePositioningOffset | ( | const NXString & | positionOffSet | ) |
Update positioning offset
Created in NX11.0.0.
License requirements : None
| positionOffSet | The positionging offset value that defined in the krx file |
| void NXOpen::Tooling::AddReusablePart::UpdateReusableComponent | ( | ) |
Updates the part data for a reusable component, this is mainly used to update parameter for a reusable component
Created in NX9.0.0.
License requirements : None
| void NXOpen::Tooling::AddReusablePart::UpdateReusablePocket | ( | ) |
Updates the pocket for a reusable component
Created in NX9.0.0.
License requirements : None
| void NXOpen::Tooling::AddReusablePart::UpdateToolingSymbolicThread | ( | ) |
Updates the tooling symbolic thread feature.
Created in NX1953.0.0.
License requirements : None