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

Represents the builder for adding a grid NXOpen.Display.Grid More...

Inheritance diagram for NXOpen.Display.GridBuilder:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink NXOpen.Display.BoundedGridBuilder NXOpen.Display.DatumPlaneGridBuilder NXOpen.Display.PlaneGridBuilder

Public Types

enum  LineStyleType {
  Solid, Dashed, Phantom, Centerline,
  Dotted, Longdash, Dotdash, Eight,
  Nine, Ten, Eleven
}
 Specifies line style to be used for major and minor lines of the grid. More...
 
enum  LineWeightType {
  Thin, Normal, Thick, One,
  Two, Three, Four, Five,
  Six, Seven, Eight, Nine
}
 Specifies line weight to be used for major and minor lines of the grid. More...
 

Public Member Functions

unsafe void InheritSettings (NXOpen.Display.Grid grid)
 Inherits the settings from the specified grid. 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 NXOpen.NXColor LineColor [get, set]
 Returns or sets the line color More...
 
unsafe double MajorLineSpacing [get, set]
 Returns or sets the major line spacing More...
 
unsafe
NXOpen.Display.GridBuilder.LineStyleType 
MajorLineStyle [get, set]
 Returns or sets the major line style More...
 
unsafe
NXOpen.Display.GridBuilder.LineWeightType 
MajorLineWeight [get, set]
 Returns or sets the major line weight More...
 
unsafe int MinorLinesPerMajor [get, set]
 Returns or sets the minor lines per major More...
 
unsafe
NXOpen.Display.GridBuilder.LineStyleType 
MinorLineStyle [get, set]
 Returns or sets the minor line style More...
 
unsafe
NXOpen.Display.GridBuilder.LineWeightType 
MinorLineWeight [get, set]
 Returns or sets the minor line weight More...
 
unsafe bool Show [get, set]
 Returns or sets the show More...
 
unsafe bool ShowMajorLines [get, set]
 Returns or sets the show major lines More...
 
unsafe bool ShowOnTop [get, set]
 Returns or sets the show on top More...
 
unsafe int SnapPointsPerMinor [get, set]
 Returns or sets the snap points per minor More...
 
unsafe bool SnapToGrid [get, set]
 Returns or sets the snap to grid 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...
 

Detailed Description

Represents the builder for adding a grid NXOpen.Display.Grid

This is an abstract class, and cannot be instantiated.

Created in NX6.0.0

Member Enumeration Documentation

Specifies line style to be used for major and minor lines of the grid.

Enumerator
Solid 
Dashed 
Phantom 
Centerline 
Dotted 
Longdash 
Dotdash 
Eight 

Long Dashed Double Dotted

Nine 

Long Dashed Dotted for OOTB fonts and Undulating for shipbuilding fonts

Ten 

Long Dashed Triplicate Dotted for OOTB fonts and Zigzag for shipbuilding fonts

Eleven 

Long Dashed Double Short Dashed for OOTB fonts and Railway for shipbuilding fonts

Specifies line weight to be used for major and minor lines of the grid.

Enumerator
Thin 
Normal 
Thick 
One 
Two 
Three 
Four 
Five 
Six 
Seven 
Eight 
Nine 

Member Function Documentation

unsafe void NXOpen.Display.GridBuilder.InheritSettings ( NXOpen.Display.Grid  grid)
inline

Inherits the settings from the specified grid.

These includes settings such as Display.GridBuilder.MajorLineSpacing .

Created in NX6.0.0

License requirements: None.

Parameters
gridThe grid. a null reference (Nothing in Visual Basic) is invalid.

Property Documentation

unsafe NXOpen.NXColor NXOpen.Display.GridBuilder.LineColor
getset

Returns or sets the line color

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe double NXOpen.Display.GridBuilder.MajorLineSpacing
getset

Returns or sets the major line spacing

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Display.GridBuilder.LineStyleType NXOpen.Display.GridBuilder.MajorLineStyle
getset

Returns or sets the major line style

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Display.GridBuilder.LineWeightType NXOpen.Display.GridBuilder.MajorLineWeight
getset

Returns or sets the major line weight

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe int NXOpen.Display.GridBuilder.MinorLinesPerMajor
getset

Returns or sets the minor lines per major

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Display.GridBuilder.LineStyleType NXOpen.Display.GridBuilder.MinorLineStyle
getset

Returns or sets the minor line style

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Display.GridBuilder.LineWeightType NXOpen.Display.GridBuilder.MinorLineWeight
getset

Returns or sets the minor line weight

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.Display.GridBuilder.Show
getset

Returns or sets the show

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.Display.GridBuilder.ShowMajorLines
getset

Returns or sets the show major lines

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.Display.GridBuilder.ShowOnTop
getset

Returns or sets the show on top

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe int NXOpen.Display.GridBuilder.SnapPointsPerMinor
getset

Returns or sets the snap points per minor

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.Display.GridBuilder.SnapToGrid
getset

Returns or sets the snap to grid

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.


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