NXOpen .NET Reference
12.0.0
|
Represents a NXOpen.GeometricAnalysis.HighlightLinesAnalysis builder. More...
Public Types | |
enum | Types { Uniform, ThroughPoints, BetweenPoints } |
three types of light methods More... | |
enum | Types2 { Reflection, Projection, Isoclines, Zebra } |
four types of display methods More... | |
enum | Resolutions { Coarse, Standard, Fine, ExtraFine, SuperFine, UltraFine } |
resolution options More... | |
enum | DisplayMethods { Reflection, Projection } |
display methods More... | |
enum | LightPlacements { Uniform, ThroughPoints, BetweenPoints } |
light placement More... | |
enum | LightPlaneOptions { YZ, ZX, XY, Arbitrary } |
light plane options More... | |
Public Member Functions | |
unsafe double[] | GetDarkColor () |
Gets the color of the dark (unlit) areas of reflection contours More... | |
unsafe void | SetDarkColor (double[] darkColor) |
Sets the color of the dark (unlit) areas of reflection contours More... | |
unsafe double[] | GetBrightColor () |
Gets the color of the bright (lit) areas of reflection contours More... | |
unsafe void | SetBrightColor (double[] brightColor) |
Sets the color of the bright (lit) areas of reflection contours More... | |
unsafe void | ReinitializePlane () |
Reinitialize light plane based on the selected faces. More... | |
unsafe void | SetLightPlaneOrigin (NXOpen.Point3d origin) |
Sets the origin of the light plane. More... | |
unsafe void | SetLightPlaneXAxis (NXOpen.Vector3d xAxis) |
Sets the x-axis of the light plane. More... | |
unsafe void | SetLightPlaneYAxis (NXOpen.Vector3d yAxis) |
Sets the y-axis of the light plane. 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.SelectPointList | BetweenPoints [get] |
Returns the between points More... | |
unsafe NXOpen.GeometricAnalysis.HighlightLinesAnalysisBuilder.DisplayMethods | DisplayMethod [get, set] |
Returns or sets the display method More... | |
unsafe NXOpen.Expression | EndIsoAngle [get] |
Returns the end angle for isoclines (uniform) More... | |
unsafe NXOpen.SelectDisplayableObjectList | Faces [get] |
Returns the face list More... | |
unsafe bool | IsReflectionLocked [get, set] |
Returns or sets the lock reflection. More... | |
unsafe NXOpen.Direction | IsoclineVector [get, set] |
Returns or sets the vector to define isoclines More... | |
unsafe double | LightDiffuseness [get, set] |
Returns or sets the ratio of blended texels to all light texels. More... | |
unsafe int | LightNumber [get, set] |
Returns or sets the number of lights. More... | |
unsafe NXOpen.GeometricAnalysis.HighlightLinesAnalysisBuilder.LightPlacements | LightPlacement [get, set] |
Returns or sets the light placement More... | |
unsafe NXOpen.Point3d | LightPlaneOrigin [get] |
Returns the origin of the light plane More... | |
unsafe NXOpen.Vector3d | LightPlaneXAxis [get] |
Returns the x-axis of the light plane More... | |
unsafe NXOpen.Vector3d | LightPlaneYAxis [get] |
Returns the y-axis of the light plane More... | |
unsafe double | LightSpacing [get, set] |
Returns or sets the light spacing between two adjacent lights. More... | |
unsafe double | LightWidth [get, set] |
Returns or sets the ratio of light size to light spacing. More... | |
unsafe NXOpen.GeometricAnalysis.HighlightLinesAnalysisBuilder.Resolutions | Resolution [get, set] |
Returns or sets the resolution. More... | |
unsafe NXOpen.Expression | StartIsoAngle [get] |
Returns the start angle for isoclines (uniform) More... | |
unsafe NXOpen.SelectPointList | ThroughPoints [get] |
Returns the through points More... | |
unsafe NXOpen.GeometricAnalysis.HighlightLinesAnalysisBuilder.Types | Type [get, set] |
Returns or sets the type More... | |
unsafe NXOpen.GeometricAnalysis.HighlightLinesAnalysisBuilder.Types2 | Type2 [get, set] |
Returns or sets the display type More... | |
Represents a NXOpen.GeometricAnalysis.HighlightLinesAnalysis builder.
Highlight Lines Analysis function can produce both reflection lines and projection lines which are used to evaluate the surface quality and continuity between adjacent surfaces.
To create a new instance of this class, use NXOpen.GeometricAnalysis.AnalysisObjectCollection.CreateHighlightLinesAnalysisBuilder
Default values.
Property | Value |
---|---|
EndIsoAngle.Value |
90 |
LightNumber |
10 |
LightSpacing |
50.0 (millimeters part), 2.0 (inches part) |
Resolution |
Fine |
StartIsoAngle.Value |
-90 |
Created in NX6.0.0
light placement
three types of light methods
unsafe double [] NXOpen.GeometricAnalysis.HighlightLinesAnalysisBuilder.GetBrightColor | ( | ) |
Gets the color of the bright (lit) areas of reflection contours
Created in NX9.0.0
License requirements: None.
unsafe double [] NXOpen.GeometricAnalysis.HighlightLinesAnalysisBuilder.GetDarkColor | ( | ) |
Gets the color of the dark (unlit) areas of reflection contours
Created in NX9.0.0
License requirements: None.
unsafe void NXOpen.GeometricAnalysis.HighlightLinesAnalysisBuilder.ReinitializePlane | ( | ) |
Reinitialize light plane based on the selected faces.
If more faces are selected, you may need to change light plane, so the light plane could be better centered.
Created in NX6.0.0
Deprecated in NX8.0.0. This call currently does not do anything. Calls to this method can be safely removed.
License requirements: studio_analyze ("STUDIO ANALYZE")
unsafe void NXOpen.GeometricAnalysis.HighlightLinesAnalysisBuilder.SetBrightColor | ( | double[] | brightColor | ) |
Sets the color of the bright (lit) areas of reflection contours
Created in NX9.0.0
License requirements: studio_analyze ("STUDIO ANALYZE")
brightColor | Array of 3 RGB values, each between 0 and 1 |
unsafe void NXOpen.GeometricAnalysis.HighlightLinesAnalysisBuilder.SetDarkColor | ( | double[] | darkColor | ) |
Sets the color of the dark (unlit) areas of reflection contours
Created in NX9.0.0
License requirements: studio_analyze ("STUDIO ANALYZE")
darkColor | Array of 3 RGB values, each between 0 and 1 |
unsafe void NXOpen.GeometricAnalysis.HighlightLinesAnalysisBuilder.SetLightPlaneOrigin | ( | NXOpen.Point3d | origin | ) |
Sets the origin of the light plane.
Created in NX6.0.0
License requirements: studio_analyze ("STUDIO ANALYZE")
origin | coordinates of origin |
unsafe void NXOpen.GeometricAnalysis.HighlightLinesAnalysisBuilder.SetLightPlaneXAxis | ( | NXOpen.Vector3d | xAxis | ) |
Sets the x-axis of the light plane.
Created in NX6.0.0
License requirements: studio_analyze ("STUDIO ANALYZE")
xAxis | x-axis vector |
unsafe void NXOpen.GeometricAnalysis.HighlightLinesAnalysisBuilder.SetLightPlaneYAxis | ( | NXOpen.Vector3d | yAxis | ) |
Sets the y-axis of the light plane.
Created in NX6.0.0
License requirements: studio_analyze ("STUDIO ANALYZE")
yAxis | y-axis vector |
|
get |
Returns the between points
Created in NX6.0.0
License requirements: None.
|
getset |
Returns or sets the display method
Created in NX6.0.0
Deprecated in NX8.0.0. Use NXOpen.GeometricAnalysis.HighlightLinesAnalysisBuilder.Type2 instead.
License requirements to get this property: None.
License requirements to set this property: studio_analyze ("STUDIO ANALYZE")
|
get |
Returns the end angle for isoclines (uniform)
Created in NX8.5.0
License requirements: None.
|
get |
Returns the face list
Created in NX6.0.0
License requirements: None.
|
getset |
Returns or sets the vector to define isoclines
Created in NX8.5.0
License requirements to get this property: None.
License requirements to set this property: studio_analyze ("STUDIO ANALYZE")
|
getset |
Returns or sets the lock reflection.
When the lock is on, the reflection lines will be freezed while the view is changing. Otherwise, the reflection lines will be updated continuously while view is changing.
Created in NX6.0.0
License requirements to get this property: None.
License requirements to set this property: studio_analyze ("STUDIO ANALYZE")
|
getset |
Returns or sets the ratio of blended texels to all light texels.
It is used by reflection contours
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: studio_analyze ("STUDIO ANALYZE")
|
getset |
Returns or sets the number of lights.
It's used by Uniform type and Between Points type.
Created in NX6.0.0
License requirements to get this property: None.
License requirements to set this property: studio_analyze ("STUDIO ANALYZE")
|
getset |
Returns or sets the light placement
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: studio_analyze ("STUDIO ANALYZE")
|
get |
Returns the origin of the light plane
Created in NX6.0.0
License requirements: None.
|
get |
Returns the x-axis of the light plane
Created in NX6.0.0
License requirements: None.
|
get |
Returns the y-axis of the light plane
Created in NX6.0.0
License requirements: None.
|
getset |
Returns or sets the light spacing between two adjacent lights.
It's used by Uniform type
Created in NX6.0.0
License requirements to get this property: None.
License requirements to set this property: studio_analyze ("STUDIO ANALYZE")
|
getset |
Returns or sets the ratio of light size to light spacing.
It is used by reflection contours
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: studio_analyze ("STUDIO ANALYZE")
|
getset |
Returns or sets the resolution.
Created in NX6.0.0
License requirements to get this property: None.
License requirements to set this property: studio_analyze ("STUDIO ANALYZE")
|
get |
Returns the start angle for isoclines (uniform)
Created in NX8.5.0
License requirements: None.
|
get |
Returns the through points
Created in NX6.0.0
License requirements: None.
|
getset |
Returns or sets the type
Created in NX6.0.0
Deprecated in NX8.0.0. Use NXOpen.GeometricAnalysis.HighlightLinesAnalysisBuilder.LightPlacement instead.
License requirements to get this property: None.
License requirements to set this property: studio_analyze ("STUDIO ANALYZE")
|
getset |
Returns or sets the display type
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: studio_analyze ("STUDIO ANALYZE")