NXOpen .NET Reference Guide
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Display.NonProportionalZoom Class Reference

Provides non-proportional zoom capability More...

Inheritance diagram for NXOpen.Display.NonProportionalZoom:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

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...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

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

Member Enumeration Documentation

Sets the kind of mouse interaction that will define the non-proportional zoom.

Enumerator
Rectangle 

Uses a rectangular region to be zoomed.

Dynamic 

Defines a line to define aspect ratio of non-proportional zoom.

Member Function Documentation

unsafe void NXOpen.Display.NonProportionalZoom.Enable ( bool  enable)
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")

Parameters
enableTrue if using the previously defined non-proportional zoom
unsafe void NXOpen.Display.NonProportionalZoom.Finish ( NXOpen.View  view)
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")

Parameters
viewthe view to receive gestures
unsafe void NXOpen.Display.NonProportionalZoom.FirstPoint ( NXOpen.Point3d  point1,
NXOpen.View  view 
)
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")

Parameters
point1First point in a mouse gesture to define a non-proportional zoom
viewApply pan (if any) and scale in this view only, if it still exists
unsafe void NXOpen.Display.NonProportionalZoom.SecondPoint ( NXOpen.Point3d  point2,
NXOpen.View  view 
)
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")

Parameters
point2Second point in a mouse gesture to define a non-proportional zoom
viewApply pan (if any) and scale in this view only, if it still exists
unsafe void NXOpen.Display.NonProportionalZoom.Start ( NXOpen.View  view)
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")

Parameters
viewthe view to receive gestures

Property Documentation

unsafe bool NXOpen.Display.NonProportionalZoom.AnchorCenter
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")

unsafe NXOpen.Display.NonProportionalZoom.MethodType NXOpen.Display.NonProportionalZoom.Method
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")

unsafe int NXOpen.Display.NonProportionalZoom.ZoomSensitivity
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")


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.