NXOpen .NET Reference
12.0.0
|
Represents a Modeling View More...
Public Member Functions | |
unsafe void | UseDefaultLights () |
Changes the set of lights used in the given view to the "Default" set, which for now is the Scene Ambient, Scene Left Top and Scene Right Top lights. More... | |
unsafe void | UseSceneLights () |
Changes the set of lights used in the given view to the "Scene" set, which for now includes the eight predefined scene lights (including the Scene Ambient light). More... | |
unsafe bool | IsDynamicSectionVisible (NXOpen.Display.DynamicSection dynamicSection) |
Returns if the specified dynamic section object is visible in this view. More... | |
unsafe void | SetDynamicSectionVisible (NXOpen.Display.DynamicSection dynamicSection, bool visible) |
Sets the specified dynamic section object is visible/invisible in this view. More... | |
unsafe void | ExpandCollapseNode (bool expand) |
Expand or collapse the node for the specified Model View in the Part Navigator. More... | |
Public Member Functions inherited from NXOpen.View | |
unsafe void | Concatenate (NXOpen.Point3d translation) |
Concatenates the given translation with the previous viewing transformation of the specified view. More... | |
unsafe void | Concatenate (double scale) |
Concatenates the given scale with the previous viewing transformation of the specified view. More... | |
unsafe void | Concatenate (NXOpen.Point3d translation, double scale) |
Concatenates the given translation and scale with the previous viewing transformation of the specified view. More... | |
unsafe void | Concatenate (NXOpen.Point3d centerOfRotation, NXOpen.Vector3d rotationAxis, double angle) |
Concatenates the given rotation with the previous viewing transformation of the specified view. More... | |
unsafe void | Concatenate (NXOpen.Point3d translation, NXOpen.Point3d centerOfRotation, NXOpen.Vector3d rotationAxis, double angle) |
Concatenates the given translation and rotation with the previous viewing transformation of the specified view. More... | |
unsafe void | Concatenate (double scale, NXOpen.Point3d centerOfRotation, NXOpen.Vector3d rotationAxis, double angle) |
Concatenates the given scale and rotation with the previous viewing transformation of the specified view. More... | |
unsafe void | Concatenate (NXOpen.Point3d translation, double scale, NXOpen.Point3d centerOfRotation, NXOpen.Vector3d rotationAxis, double angle) |
Concatenates the given translation, scale and rotation with the previous viewing transformation of the specified view. More... | |
unsafe void | Expand () |
Expands the specified view to fill as much of the layout which contains the view as possible, without changing the aspect ratio of the view. More... | |
unsafe void | Fit () |
Adjusts the bounds of a given view so that it fully encompasses the extents of the model geometry. More... | |
unsafe void | FitAfterShowOrHide (NXOpen.View.ShowOrHideType type) |
Adjusts the bounds of a given view conditionally so that it fully encompasses the extents of the model geometry. More... | |
unsafe void | FitToObjects (NXOpen.IFitTo[] objects) |
Adjusts the bounds of a given view so that it fully encompasses the extents of the given objects. More... | |
unsafe double | GetExpandedScale () |
Returns the view scale, including any expansion factor. More... | |
unsafe NXOpen.Vector3d | GetAxis (NXOpen.XYZAxis xYZAxis) |
Returns one of the view axes. More... | |
unsafe void | MakeWork () |
Makes the given view the work view. More... | |
unsafe void | Orient (NXOpen.Matrix3x3 matrix) |
Changes the view orientation relative to the specified absolute coordinate system. More... | |
unsafe void | Orient (NXOpen.View.Canned viewName, NXOpen.View.ScaleAdjustment viewScale) |
Changes the view orientation to a specified canned view. More... | |
unsafe void | Orient (string viewName, NXOpen.View.ScaleAdjustment viewScale) |
Changes the view orientation to a specified view. More... | |
unsafe void | Regenerate () |
Regenerates the display of given view. More... | |
unsafe bool | Restore () |
Restores a view to its last remembered rotation, scale and translation. More... | |
unsafe void | Rotate (NXOpen.Matrix3x3 matrix) |
Rotates the view by concatenating the given matrix to the existing rotation matrix of the view. More... | |
unsafe void | Rotate (NXOpen.Point3d origin, NXOpen.Vector3d vector, double angle) |
Rotates the specified view using the specified origin of rotation and about the specified axis. More... | |
unsafe void | SetOrigin (NXOpen.Point3d origin) |
Moves the given position to the center of the view. More... | |
unsafe void | SetScale (double scale) |
Sets the scale of the specified view to the desired scale factor. More... | |
unsafe void | SetRotationTranslationScale (NXOpen.Matrix3x3 rotMatrix, NXOpen.Point3d translation, double scale) |
Sets the rotation, translation and scale of the specified view. More... | |
unsafe void | SnapToClosestCannedOrientation () |
Changes the orientation of the given view to the orientation of the canned view whose orientation is the closest to that of the given view. More... | |
unsafe void | SnapToVariantCannedOrientation () |
Similar to NXOpen.View.SnapToClosestCannedOrientation except it changes the orientation of the given view to the orientation of some canned view "variant" based on I-deas's 'snapview' logic whose orientation is the closest to one of the six orthographic and eight flavors of trimetric views. More... | |
unsafe void | UpdateDisplay () |
Updates the display of given view, as needed. More... | |
unsafe void | Zoom (NXOpen.View.ScaleFactor scaleFactor) |
Scales the specified view to a desired relative scale. More... | |
unsafe void | ZoomAboutPoint (double relativeScale, NXOpen.Point3d scaleAboutPoint, NXOpen.Point3d viewCenter) |
Scales the specified view such that the given scale_about_point does not move. More... | |
unsafe void | ZoomByRectangle (NXOpen.Point3d corner1, NXOpen.Point3d corner2) |
Scales the specified view such that the specified rectangle is as large as possible while being fully contained within the viewport. More... | |
unsafe void | ChangePerspective (bool changeViewToPerspective) |
Changes a view from an orthographic view to a perspective view, or from a perspective view to an orthographic view. More... | |
unsafe NXOpen.DisplayableObject[] | AskVisibleObjects () |
Returns an array of objects visible in a view. More... | |
unsafe void | UpdateCustomSymbols () |
Updates custom symbol in a drawing member view or drawing sheet More... | |
unsafe bool | HasPreview () |
Returns whether or not the given view has a preview. More... | |
Public Member Functions inherited from NXOpen.NXObject | |
unsafe void | SetUserAttribute (NXOpen.NXObject.AttributeInformation info, NXOpen.Update.Option option) |
Creates or modifies an attribute with the option to update or not. More... | |
unsafe void | SetUserAttribute (string title, int index, int value, NXOpen.Update.Option option) |
Creates or modifies an integer attribute with the option to update or not. More... | |
unsafe void | SetUserAttribute (string title, int index, double value, NXOpen.Update.Option option) |
Creates or modifies a real attribute with the option to update or not. More... | |
unsafe void | SetUserAttribute (string title, int index, string value, NXOpen.Update.Option option) |
Creates or modifies a string attribute with the option to update or not. More... | |
unsafe void | SetUserAttribute (string title, int index, NXOpen.Update.Option option) |
Creates or modifies a null attribute with the option to update or not. More... | |
unsafe void | SetTimeUserAttribute (string title, int index, string value, NXOpen.Update.Option option) |
Creates or modifies a time attribute with the option to update or not. More... | |
unsafe void | SetTimeUserAttribute (string title, int index, NXOpen.NXObject.ComputationalTime value, NXOpen.Update.Option option) |
Creates or modifies a time attribute with the option to update or not. More... | |
unsafe void | SetBooleanUserAttribute (string title, int index, bool value, NXOpen.Update.Option option) |
Creates or modifies a boolean attribute with the option to update or not. More... | |
unsafe NXOpen.AttributeIterator | CreateAttributeIterator () |
Create an attribute iterator More... | |
unsafe bool | HasUserAttribute (NXOpen.AttributeIterator iterator) |
Determines if an attribute exists on the object, that satisfies the given iterator More... | |
unsafe bool | HasUserAttribute (string title, NXOpen.NXObject.AttributeType type, int index) |
Determines if an attribute with the given Title, Type and array Index is present on the object Unset attributes will not be detected by this function, as its purpose is to test for the actual presence of the attribute on the object. More... | |
unsafe int | GetUserAttributeCount (NXOpen.AttributeIterator iterator) |
Gets the count of set attributes on the object, if any, that satisfy the given iterator. More... | |
unsafe int | GetUserAttributeCount (NXOpen.AttributeIterator iterator, bool countArrayAsOneAttribute) |
Gets the count of set attributes on the object, if any, that satisfy the given iterator. More... | |
unsafe int | GetUserAttributeCount (NXOpen.NXObject.AttributeType type) |
Gets the count of set attributes on the object, if any, of the given type. More... | |
unsafe int | GetUserAttributeCount (NXOpen.NXObject.AttributeType type, bool includeUnset, bool countArrayAsOneAttribute) |
Gets the count of attributes on the object, if any, of the given type. More... | |
unsafe int | GetUserAttributeSize (string title, NXOpen.NXObject.AttributeType type) |
Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. More... | |
unsafe bool | GetNextUserAttribute (NXOpen.AttributeIterator iterator, out NXOpen.NXObject.AttributeInformation info) |
Gets the next attribute encountered on the object, if any, that satisfies the given iterator. More... | |
unsafe NXOpen.NXObject.AttributeInformation | GetUserAttribute (string title, NXOpen.NXObject.AttributeType type, int index) |
Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. More... | |
unsafe bool | GetBooleanUserAttribute (string title, int index) |
Gets a boolean attribute by Title and array Index. More... | |
unsafe int | GetIntegerUserAttribute (string title, int index) |
Gets an integer attribute by Title and array Index. More... | |
unsafe double | GetRealUserAttribute (string title, int index) |
Gets a real attribute by Title and array Index. More... | |
unsafe string | GetStringUserAttribute (string title, int index) |
Gets a string attribute by Title and array Index. More... | |
unsafe string | GetTimeUserAttribute (string title, int index) |
Gets a time attribute by Title and array Index. More... | |
unsafe NXOpen.NXObject.ComputationalTime | GetComputationalTimeUserAttribute (string title, int index) |
Gets a time attribute by Title and array Index. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetUserAttributes (NXOpen.AttributeIterator iterator) |
Gets all the attributes that have been set on the given object, if any, that satisfy the given iterator. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetUserAttributes () |
Gets all the attributes that have been set on the given object. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetUserAttributes (bool includeUnset) |
Gets all the attributes of the given object. More... | |
unsafe string | GetUserAttributeAsString (string title, NXOpen.NXObject.AttributeType type, int index) |
Gets the first attribute encountered on the object, if any, with a given title, type and array index. More... | |
unsafe void | DeleteUserAttributes (NXOpen.AttributeIterator iterator, NXOpen.Update.Option option) |
Deletes the attributes on the object, if any, that satisfy the given iterator More... | |
unsafe void | DeleteUserAttribute (NXOpen.NXObject.AttributeType type, string title, bool deleteEntireArray, NXOpen.Update.Option option) |
Deletes the first attribute encountered with the given Type, Title. More... | |
unsafe void | DeleteUserAttributes (NXOpen.NXObject.AttributeType type, NXOpen.Update.Option option) |
Deletes the attributes encountered with the given Type with option to update or not. More... | |
unsafe void | SetUserAttributeLock (string title, NXOpen.NXObject.AttributeType type, bool @lock) |
Lock or unlock the given attribute. More... | |
unsafe bool | GetUserAttributeLock (string title, NXOpen.NXObject.AttributeType type) |
Determine the lock of the given attribute. More... | |
unsafe NXOpen.NXObject[] | GetUserAttributeSourceObjects () |
Returns an array of objects from which this object presents attributes. More... | |
unsafe void | SetPdmReferenceAttribute (string attributeTitle, string attributeValue) |
Sets the value of PDM Reference attribute on the object. More... | |
unsafe string | GetPdmReferenceAttributeValue (string attributeTitle) |
Gets the value of PDM Reference attribute for given object. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetUserAttribute (string title, bool includeUnset, bool addStringValues, NXOpen.NXObject.AttributeType type) |
Gets the first attribute (or attribute array) encountered on the object, if any, with a given Title and Type. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetUserAttributes (bool includeUnset, bool addStringValues) |
Gets all the attributes of the given object. More... | |
unsafe void | DeleteAllAttributesByType (NXOpen.NXObject.AttributeType type) |
Deletes all attributes of a specific type. More... | |
unsafe void | DeleteAllAttributesByType (NXOpen.NXObject.AttributeType type, NXOpen.Update.Option option) |
Deletes all attributes of a specific type with the option to update or not. More... | |
unsafe void | SetAttribute (string title, int value) |
Creates or modifies an integer attribute. More... | |
unsafe void | SetAttribute (string title, int value, NXOpen.Update.Option option) |
Creates or modifies an integer attribute with the option to update or not. More... | |
unsafe void | SetAttribute (string title, double value) |
Creates or modifies a real attribute. More... | |
unsafe void | SetAttribute (string title, double value, NXOpen.Update.Option option) |
Creates or modifies a real attribute with the option to update or not. More... | |
unsafe void | SetAttribute (string title, string value) |
Creates or modifies a string attribute. More... | |
unsafe void | SetAttribute (string title, string value, NXOpen.Update.Option option) |
Creates or modifies a string attribute with the option to update or not. More... | |
unsafe void | SetAttribute (string title) |
Creates or modifies a null attribute which is an attribute with a title and no value. More... | |
unsafe void | SetAttribute (string title, NXOpen.Update.Option option) |
Creates or modifies a null attribute with the option to update or not. More... | |
unsafe void | SetTimeAttribute (string title, string value) |
Creates or modifies a time attribute. More... | |
unsafe void | SetTimeAttribute (string title, string value, NXOpen.Update.Option option) |
Creates or modifies a time attribute with the option to update or not. More... | |
unsafe int | GetIntegerAttribute (string title) |
Gets an integer attribute by title. More... | |
unsafe double | GetRealAttribute (string title) |
Gets a real attribute by title. More... | |
unsafe string | GetStringAttribute (string title) |
Gets a string attribute value by title. More... | |
unsafe string | GetTimeAttribute (NXOpen.NXObject.DateAndTimeFormat format, string title) |
Gets a time attribute by title. More... | |
unsafe string | GetReferenceAttribute (string title) |
Gets the reference string (not the calculated value) of a string attribute that uses a reference string. More... | |
unsafe void | DeleteAttributeByTypeAndTitle (NXOpen.NXObject.AttributeType type, string title) |
Deletes an attribute by type and title. More... | |
unsafe void | DeleteAttributeByTypeAndTitle (NXOpen.NXObject.AttributeType type, string title, NXOpen.Update.Option option) |
Deletes an attribute by type and title with the option to update or not. More... | |
unsafe void | SetReferenceAttribute (string title, string value) |
Creates or modifies a string attribute which uses a reference string. More... | |
unsafe void | SetReferenceAttribute (string title, string value, NXOpen.Update.Option option) |
Creates or modifies a string attribute which uses a reference string, with the option to update or not. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetAttributeTitlesByType (NXOpen.NXObject.AttributeType type) |
Gets all the attribute titles of a specific type. More... | |
unsafe string[] | GetUserAttributesAsStrings () |
Gets all the attributes that have been set on the given object. More... | |
unsafe NXOpen.INXObject | FindObject (string journalIdentifier) |
Finds the NXOpen.NXObject with the given identifier as recorded in a journal. More... | |
unsafe void | Print () |
Prints a representation of this object to the system log file. More... | |
unsafe void | SetName (string name) |
Sets the custom name of the object. More... | |
Properties | |
NXOpen.ModelingViewHighQualityImage | HiqhQualityImage [get] |
Returns the High Quality Image instance belonging to a view More... | |
unsafe NXOpen.Display.DynamicSection | ActiveDynamicSection [get, set] |
Returns or sets the active dynamic section object in the modeling view. More... | |
unsafe bool | DisplaySectioningToggle [get, set] |
Returns or sets the toggle between enabling or disabling the Dynamic Sectioning viewing More... | |
unsafe bool | IsMirrored [get] |
Returns a flag indicating whether the model view is mirrored More... | |
Properties inherited from NXOpen.View | |
NXOpen.Preferences.ViewVisualizationVisual | VisualizationVisualPreferences [get] |
Returns an object to perform all visualization related preferences settings More... | |
NXOpen.Preferences.ViewVisualizationSpecialEffects | VisualizationSpecialEffectsPreferences [get] |
Returns an object to perform all visualization Special Effects related preferences settings More... | |
NXOpen.ViewDependentDisplayManager | DependentDisplay [get] |
Returns an object to perform all view dependent display operations More... | |
unsafe NXOpen.Point3d | AbsoluteOrigin [get] |
Returns the view origin in absolute space. More... | |
unsafe string | DisclosurePurpose [get, set] |
Returns or sets the Disclosure Purpose. More... | |
unsafe bool | LockRotations [get, set] |
Returns or sets the "Lock Rotations" toggle state of a view. More... | |
unsafe NXOpen.Matrix3x3 | Matrix [get] |
Returns the view matrix. More... | |
unsafe NXOpen.Point3d | Origin [get] |
Returns the view origin. More... | |
unsafe NXOpen.View.RenderingStyleType | RenderingStyle [get, set] |
Returns or sets the rendering style of the view. More... | |
unsafe double | Scale [get] |
Returns the view scale. More... | |
unsafe bool | SyncViews [get, set] |
Returns or sets the "Synchronized Views" toggle state of a view. More... | |
unsafe bool | TriadVisibility [get, set] |
Returns or sets the visibility of the view triad in the view. More... | |
unsafe bool | WcsVisibility [get, set] |
Returns or sets the visibility of the WCS in the view. More... | |
Properties inherited from NXOpen.NXObject | |
unsafe bool | IsOccurrence [get] |
Returns whether this object is an occurrence or not. More... | |
unsafe string | JournalIdentifier [get] |
Returns the identifier that would be recorded in a journal for this object. More... | |
unsafe string | Name [get] |
Returns the custom name of the object. More... | |
unsafe NXOpen.Assemblies.Component | OwningComponent [get] |
Returns the owning component, if this object is an occurrence. More... | |
unsafe NXOpen.BasePart | OwningPart [get] |
Returns the owning part of this object More... | |
unsafe NXOpen.INXObject | Prototype [get] |
Returns the prototype of this object if it is an occurrence. More... | |
Properties inherited from NXOpen.INXObject | |
bool | IsOccurrence [get] |
Returns whether this object is an occurrence or not. More... | |
string | JournalIdentifier [get] |
Returns the identifier that would be recorded in a journal for this object. More... | |
string | Name [get] |
Returns the custom name of the object. More... | |
NXOpen.Assemblies.Component | OwningComponent [get] |
Returns the owning component, if this object is an occurrence. More... | |
NXOpen.BasePart | OwningPart [get] |
Returns the owning part of this object More... | |
NXOpen.INXObject | Prototype [get] |
Returns the prototype of this object if it is an occurrence. More... | |
Additional Inherited Members | |
Public Types inherited from NXOpen.View | |
enum | Canned { Top, Front, Right, Back, Bottom, Left, Isometric, Trimetric } |
Describes a simplified indexing scheme for accessing canned views with interfaces that use this enum as a parameter. More... | |
enum | ScaleFactor { HalfScale, DoubleScale, ReduceScale, IncreaseScale } |
Describes the relative scales to which a view can be set More... | |
enum | ScaleAdjustment { Fit, Current, Saved } |
Describes simple, predefined adjustments that may be applied to a view's scale while another operation is performed, in conjunction, on the view. More... | |
enum | RenderingStyleType { ShadedWithEdges, ShadedWithBodyColorEdges, Shaded, WireframeWithDimEdges, WireframeWithHiddenEdges, WireframeWithDashedEdges, Studio, FaceAnalysis, PartiallyShaded, StaticWireframe } |
Describes the rendering style for geometry displayed in the view. More... | |
enum | ShowOrHideType { ShowOnly, HideOnly, BothShowAndHide, InvertShownAndHidden } |
Specifies whether a show or hide operation, or both, has just been done More... | |
Represents a Modeling View
Modeling Views may only be created by Save As.
Created in NX4.0.0
unsafe void NXOpen.ModelingView.ExpandCollapseNode | ( | bool | expand | ) |
Expand or collapse the node for the specified Model View in the Part Navigator.
Created in NX9.0.3
License requirements: None.
expand |
unsafe bool NXOpen.ModelingView.IsDynamicSectionVisible | ( | NXOpen.Display.DynamicSection | dynamicSection | ) |
Returns if the specified dynamic section object is visible in this view.
When dynamic section object is visible, the section curves are shown in the view.
Created in NX6.0.0
License requirements: None.
dynamicSection | Dynamic section object |
unsafe void NXOpen.ModelingView.SetDynamicSectionVisible | ( | NXOpen.Display.DynamicSection | dynamicSection, |
bool | visible | ||
) |
Sets the specified dynamic section object is visible/invisible in this view.
When dynamic section object is visible, the section curves are shown in the view. Showing section objects in a view is a performance intensive operation. In involves cutting all visible bodies in the view with the section object definition.
Created in NX6.0.0
License requirements: None.
dynamicSection | Dynamic section object |
visible | Visibility flag |
unsafe void NXOpen.ModelingView.UseDefaultLights | ( | ) |
Changes the set of lights used in the given view to the "Default" set, which for now is the Scene Ambient, Scene Left Top and Scene Right Top lights.
If the definition of the "Default" set should ever change, the implementation of this method would change accordingly.
Created in NX4.0.0
License requirements: None.
unsafe void NXOpen.ModelingView.UseSceneLights | ( | ) |
Changes the set of lights used in the given view to the "Scene" set, which for now includes the eight predefined scene lights (including the Scene Ambient light).
If the definition of the "Scene" set should ever change, the implementation of this method would change accordingly.
Created in NX4.0.0
License requirements: None.
|
getset |
Returns or sets the active dynamic section object in the modeling view.
Each modeling view can contain one and only one active dynamic section. Trying to reset the active dynamic section in the view by specifying a null reference (Nothing in Visual Basic) dynamic section will raise an error.
Created in NX6.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the toggle between enabling or disabling the Dynamic Sectioning viewing
Created in NX4.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
get |
Returns the High Quality Image instance belonging to a view
Created in NX3.0.0
|
get |
Returns a flag indicating whether the model view is mirrored
Created in NX8.5.0
License requirements: None.