NXOpen .NET Reference  12.0.0
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Drafting.CutCopyPasteBuilder Class Reference

Represents a paste in Drafting. More...

Inheritance diagram for NXOpen.Drafting.CutCopyPasteBuilder:
NXOpen.Builder NXOpen.GeometricUtilities.IComponentBuilder

Public Types

enum  TypePaste { Transform, Tracking }
 Specifies the paste type. More...
 
enum  TypeOperation { Copy, Cut }
 Specifies the copy cut operation type. More...
 

Public Member Functions

unsafe NXOpen.Point3d GetDefaultToPoint ()
 Get the default to point. More...
 
unsafe void SetDefaultToPoint (NXOpen.Point3d dropLocation)
 Set the default to point. More...
 
unsafe void SetMoveOnCommit (NXOpen.Matrix3x3 rot, NXOpen.Vector3d trans)
 Set the final motion from the drop location. More...
 
unsafe void InitPaste ()
 Make the initial drop. 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
NXOpen.Drafting.CutCopyPasteLeaderBuilder 
CutCopyPasteLeader [get]
 Returns the leader builder. More...
 
unsafe NXOpen.View DestinationView [get, set]
 Returns or sets the destination view. More...
 
unsafe
NXOpen.SelectTaggedObjectList 
ObjectsToCopy [get]
 Returns the objects list to copy. More...
 
unsafe
NXOpen.Drafting.CutCopyPasteBuilder.TypeOperation 
Originals [get, set]
 Returns or sets the operation type. More...
 
unsafe
NXOpen.SelectTaggedObjectList 
OutputObjects [get]
 Returns the output Objects More...
 
unsafe
NXOpen.Drafting.CutCopyPasteBuilder.TypePaste 
PasteType [get, set]
 Returns or sets the paste type More...
 
unsafe NXOpen.Plane PlaneToRestrictMotion [get, set]
 Returns or sets the plane to restrict motion More...
 
unsafe
NXOpen.GeometricUtilities.ModlMotion 
Transform [get]
 Returns the motion from the default paste position More...
 

Detailed Description

Represents a paste in Drafting.

To create a new instance of this class, use NXOpen.Drafting.DraftingApplicationManager.CreateCutCopyPasteBuilder

Default values.

Property Value

Transform.DeltaEnum

ReferenceWcsWorkPart

Transform.DeltaXc.Value

0.0

Transform.DeltaYc.Value

0.0

Transform.DeltaZc.Value

0.0

Transform.Option

Distance

Created in NX7.5.0

Member Enumeration Documentation

Specifies the copy cut operation type.

Enumerator
Copy 

Copy type

Cut 

Cut type

Specifies the paste type.

Enumerator
Transform 

Transform type

Tracking 

Tracking type

Member Function Documentation

unsafe NXOpen.Point3d NXOpen.Drafting.CutCopyPasteBuilder.GetDefaultToPoint ( )

Get the default to point.

The drop location.

Created in NX7.5.0

License requirements: None.

Returns
the drop location
unsafe void NXOpen.Drafting.CutCopyPasteBuilder.InitPaste ( )

Make the initial drop.

Created in NX7.5.0

License requirements: drafting ("DRAFTING")

unsafe void NXOpen.Drafting.CutCopyPasteBuilder.SetDefaultToPoint ( NXOpen.Point3d  dropLocation)

Set the default to point.

The drop location.

Created in NX7.5.0

License requirements: drafting ("DRAFTING")

Parameters
dropLocationthe drop location
unsafe void NXOpen.Drafting.CutCopyPasteBuilder.SetMoveOnCommit ( NXOpen.Matrix3x3  rot,
NXOpen.Vector3d  trans 
)

Set the final motion from the drop location.

Created in NX7.5.0

License requirements: drafting ("DRAFTING")

Parameters
rotrotational part of motion
transtranslation part of motion

Property Documentation

unsafe NXOpen.Drafting.CutCopyPasteLeaderBuilder NXOpen.Drafting.CutCopyPasteBuilder.CutCopyPasteLeader
get

Returns the leader builder.

Created in NX8.0.0

License requirements: None.

unsafe NXOpen.View NXOpen.Drafting.CutCopyPasteBuilder.DestinationView
getset

Returns or sets the destination view.

Either a drafting view or sheet view.

Created in NX7.5.0

License requirements to get this property: None.

License requirements to set this property: drafting ("DRAFTING")

unsafe NXOpen.SelectTaggedObjectList NXOpen.Drafting.CutCopyPasteBuilder.ObjectsToCopy
get

Returns the objects list to copy.

May include drafting geometry, sketch objects and simple annotations.

Created in NX7.5.0

License requirements: None.

unsafe NXOpen.Drafting.CutCopyPasteBuilder.TypeOperation NXOpen.Drafting.CutCopyPasteBuilder.Originals
getset

Returns or sets the operation type.

If it is copy, we will keept the originals. If it is cut, we will delete the originals

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: drafting ("DRAFTING")

unsafe NXOpen.SelectTaggedObjectList NXOpen.Drafting.CutCopyPasteBuilder.OutputObjects
get

Returns the output Objects

Created in NX7.5.0

License requirements: None.

unsafe NXOpen.Drafting.CutCopyPasteBuilder.TypePaste NXOpen.Drafting.CutCopyPasteBuilder.PasteType
getset

Returns or sets the paste type

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Plane NXOpen.Drafting.CutCopyPasteBuilder.PlaneToRestrictMotion
getset

Returns or sets the plane to restrict motion

Created in NX7.5.0

License requirements to get this property: None.

License requirements to set this property: drafting ("DRAFTING")

unsafe NXOpen.GeometricUtilities.ModlMotion NXOpen.Drafting.CutCopyPasteBuilder.Transform
get

Returns the motion from the default paste position

Created in NX7.5.0

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.