NXOpen .NET Reference Guide
1899
|
Provides non-proportional zoom capability More...
Public Types | |
enum | MethodType { Rectangle, Dynamic } |
Sets the kind of mouse interaction that will define the non-proportional zoom. More... | |
Public Member Functions | |
unsafe void | Enable (bool enable) |
Enables non-proportional zoom. More... | |
unsafe void | Finish (NXOpen.View view) |
Signals the completion of a non-proportional zoom defined by one or more pairs of points defined by a mouse gesture. More... | |
unsafe void | FirstPoint (NXOpen.Point3d point1, NXOpen.View view) |
Scales the specified view non-proportionally in the horizontal (X) and vertical (Y) dimensions, based on a mouse gesture defined by two points in a view. More... | |
unsafe void | SecondPoint (NXOpen.Point3d point2, NXOpen.View view) |
Scales the specified view non-proportionally in the horizontal (X) and vertical (Y) dimensions, based on a mouse gesture defined by two points in a view. More... | |
unsafe void | Start (NXOpen.View view) |
Prepares NX to receive one or more gestures delimited by pairs of points which define a non-proportional zoom. 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... | |
Public Member Functions inherited from NXOpen.TaggedObject | |
void | PrintTestData (String variableName) |
<exclude> More... | |
void | PrintTestData (String variableName, int lineNumber) |
<exclude> More... | |
override string | ToString () |
Returns a String that represents the current Object. More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Properties | |
unsafe bool | AnchorCenter [get, set] |
Returns or sets a value indicating if the display will be recentered on the initial line endpoint More... | |
unsafe NXOpen.Display.NonProportionalZoom.MethodType | Method [get, set] |
Returns or sets the type of mouse interaction used to define the non-proportional zoom. More... | |
unsafe int | ZoomSensitivity [get, set] |
Returns or sets the sensitivity of the zoom relative to the length of the drawn line More... | |
Properties inherited from NXOpen.Builder | |
unsafe NXOpen.PreviewBuilder | PreviewBuilder [get] |
Returns the preview builder subobject. More... | |
Properties inherited from NXOpen.TaggedObject | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Properties inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageSink | NextSink [get] |
Gets the next message sink in the sink chain. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from NXOpen.TaggedObject | |
new void | initialize () |
<exclude> More... | |
Provides non-proportional zoom capability
To create a new instance of this class, use NXOpen.ViewCollection.CreateNonProportionalZoom
Default values.
Property | Value |
---|---|
AnchorCenter |
0 |
Method |
Dynamic |
ZoomSensitivity |
5 |
Created in NX7.0.0
|
inline |
Enables non-proportional zoom.
In batch mode, the the aspect ratio, scale and center of the view are modified, but no display occurs.
Created in NX7.0.0
License requirements: studio_analyze ("STUDIO ANALYZE")
enable | True if using the previously defined non-proportional zoom |
|
inline |
Signals the completion of a non-proportional zoom defined by one or more pairs of points defined by a mouse gesture.
Created in NX7.0.0
License requirements: studio_analyze ("STUDIO ANALYZE")
view | the view to receive gestures |
|
inline |
Scales the specified view non-proportionally in the horizontal (X) and vertical (Y) dimensions, based on a mouse gesture defined by two points in a view.
Based on NXOpen.Display.NonProportionalZoom.MethodType setting, the gesture may be interpreted as a bounding box or a line, but will determine the XY aspect ratio and the zoom.
In batch mode, the the aspect ratio, scale and center of the view are modified, but no display occurs.
Created in NX7.0.0
License requirements: studio_analyze ("STUDIO ANALYZE")
point1 | First point in a mouse gesture to define a non-proportional zoom |
view | Apply pan (if any) and scale in this view only, if it still exists |
|
inline |
Scales the specified view non-proportionally in the horizontal (X) and vertical (Y) dimensions, based on a mouse gesture defined by two points in a view.
Call this once for every call to first point, to redefine a non-proportional zoom.
In batch mode, the the aspect ratio, scale and center of the view are modified, but no display occurs.
Created in NX7.0.0
License requirements: studio_analyze ("STUDIO ANALYZE")
point2 | Second point in a mouse gesture to define a non-proportional zoom |
view | Apply pan (if any) and scale in this view only, if it still exists |
|
inline |
Prepares NX to receive one or more gestures delimited by pairs of points which define a non-proportional zoom.
This function records the display state to which the view will return when non-proportional zoom is disabled. In a typical scenario, call start. Then call first point accompanied by one or more calls to second point, followed by a call to finish, followed optionaly by further first point/second point/finish combinations of calls.
Created in NX7.0.0
License requirements: studio_analyze ("STUDIO ANALYZE")
view | the view to receive gestures |
|
getset |
Returns or sets a value indicating if the display will be recentered on the initial line endpoint
Created in NX7.0.0
License requirements to get this property: None.
License requirements to set this property: studio_analyze ("STUDIO ANALYZE")
|
getset |
Returns or sets the type of mouse interaction used to define the non-proportional zoom.
Created in NX7.0.0
License requirements to get this property: None.
License requirements to set this property: studio_analyze ("STUDIO ANALYZE")
|
getset |
Returns or sets the sensitivity of the zoom relative to the length of the drawn line
Created in NX7.0.0
License requirements to get this property: None.
License requirements to set this property: studio_analyze ("STUDIO ANALYZE")