NXOpen .NET Reference Guide
1899
|
Represents a NXOpen.Display.ImageBaseBuilder . More...
Public Types | |
enum | BasePointChoices { BottomLeft, BottomCenter, BottomRight, MiddleLeft, MiddleCenter, MiddleRight, TopLeft, TopCenter, TopRight, UserDefined } |
Specifies image reference base point choice. More... | |
enum | ImageColorModes { Rgb, Greyscale, Monochrome } |
Describes image color modes. More... | |
enum | InsertionPoint { Default, UserDefined } |
Describes insertion point type. More... | |
enum | ReferenceDirection { Horizontal, Vertical } |
Specifies image alignment reference direction type. More... | |
enum | SizeOptions { UserDefined, ImageSize, ReferenceScaling } |
Describes size options. More... | |
enum | TransparencyColorFrom { None, FromImage, PixelColor } |
Transparency Color From More... | |
Public Member Functions | |
unsafe void | AlignImageToReferenceDirection () |
Align Image to Reference Direction More... | |
unsafe void | FlipHorizontal () |
Flips the image horizontally. More... | |
unsafe void | FlipVertical () |
Flips the image vertically. More... | |
unsafe double[] | GetBackgroundColor () |
Gets the background color (RGB value) of the image. More... | |
unsafe void | GetCornerPoints (out NXOpen.Point3d point1, out NXOpen.Point3d point2, out NXOpen.Point3d point3, out NXOpen.Point3d point4) |
Get the image corner points. More... | |
unsafe double[] | GetForegroundColor () |
Gets the foreground color (RGB value) of the image. More... | |
unsafe string[] | GetImagesInPart () |
Provide a list of names of the NXOpen.Display.ImageData objects saved in current part file. More... | |
unsafe double[] | GetTransparentPixelColor () |
Gets the transparency color (RGB value) of the image. More... | |
unsafe void | OrientViewToImage () |
Orients and fits the work view's view direction along the reverse normal direction of the image More... | |
unsafe void | ResetImageSize () |
Resets the image to its original size. More... | |
unsafe void | RotateLeft () |
Rotates the image 90 degrees counter-clockwise. More... | |
unsafe void | RotateRight () |
Rotates the image 90 degrees clockwise. More... | |
unsafe void | SetBackgroundColor (double[] backgroundColor) |
Sets the background color (RGB value) of the image. More... | |
unsafe void | SetCornerPoints (NXOpen.Point3d point1, NXOpen.Point3d point2, NXOpen.Point3d point3, NXOpen.Point3d point4) |
Set the image corner points. More... | |
unsafe void | SetForegroundColor (double[] foregroundColor) |
Sets the foreground color (RGB value) of the image. More... | |
unsafe void | SetImageFromPart (string imageName) |
Set a NXOpen.Display.ImageData object currently stored in the part as the image used by the builder. More... | |
unsafe void | SetTransparentPixelColor (double[] transparencyColor) |
Sets the transparency color (RGB value) of the image. 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.Display.ImageBaseBuilder.BasePointChoices | BasePointChoice [get, set] |
Returns or sets the image reference base point choice. More... | |
unsafe NXOpen.Display.ImageBaseBuilder.ImageColorModes | ColorMode [get, set] |
Returns or sets the color mode to display the image. More... | |
unsafe NXOpen.Expression | Height [get] |
Returns the height of the image as an NXOpen.Expression . More... | |
unsafe string | ImageFile [get, set] |
Returns or sets the image file More... | |
unsafe NXOpen.Point | ImageReferencePoint1 [get, set] |
Returns or sets the image reference point1. More... | |
unsafe NXOpen.Point | ImageReferencePoint2 [get, set] |
Returns or sets the image reference point2. More... | |
unsafe NXOpen.Point | ImageReferencePoint3 [get, set] |
Returns or sets the image reference point3. More... | |
unsafe NXOpen.Point3d | InsertionPointLocation [get, set] |
Returns or sets the insertion point of the image More... | |
unsafe NXOpen.Display.ImageBaseBuilder.InsertionPoint | InsertionPointOption [get, set] |
Returns or sets the image insertion point type More... | |
unsafe bool | LockAspectRatio [get, set] |
Returns or sets the lock aspect ratio More... | |
unsafe NXOpen.Point | ModelReferencePoint1 [get, set] |
Returns or sets the model reference point1. More... | |
unsafe NXOpen.Point | ModelReferencePoint2 [get, set] |
Returns or sets the model reference point2. More... | |
unsafe NXOpen.Point | ModelReferencePoint3 [get, set] |
Returns or sets the model reference point3. More... | |
unsafe int | OverallTranslucency [get, set] |
Returns or sets the overall translucency. More... | |
unsafe int | PixelColorTolerance [get, set] |
Returns or sets the transparency pixel color tolerance. More... | |
unsafe NXOpen.Display.ImageBaseBuilder.ReferenceDirection | ReferenceDirectionOption [get, set] |
Returns or sets the image alignment reference direction type. More... | |
unsafe NXOpen.Expression | RotateAngleOfReferenceVector [get] |
Returns the current rotation angle of image from aligned reference direction More... | |
unsafe NXOpen.Display.ImageBaseBuilder.SizeOptions | SizeOption [get, set] |
Returns or sets the size option More... | |
unsafe NXOpen.Display.ImageBaseBuilder.TransparencyColorFrom | TransparencyColorOption [get, set] |
Returns or sets the transparency color option More... | |
unsafe NXOpen.Point | UserBasePoint [get, set] |
Returns or sets the user defined base point. More... | |
unsafe NXOpen.Point | UserInsertionPoint [get, set] |
Returns or sets the user defined insertion point More... | |
unsafe NXOpen.Direction | UserReferenceDirection [get, set] |
Returns or sets the user defined reference direction vector. More... | |
unsafe NXOpen.Expression | Width [get] |
Returns the width of the image as an NXOpen.Expression . 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... | |
Represents a NXOpen.Display.ImageBaseBuilder .
Serves as the base class for all NXOpen.Display.ImageBase builders. NXOpen.Display.ImageBase base class provides definition, orientation, sizing, and display setting controls for image based objects.
This is an abstract class, and cannot be instantiated.
Created in NX9.0.0
|
inline |
Align Image to Reference Direction
Created in NX9.0.0
License requirements: None.
|
inline |
Flips the image horizontally.
Created in NX9.0.0
License requirements: None.
|
inline |
Flips the image vertically.
Created in NX9.0.0
License requirements: None.
|
inline |
Gets the background color (RGB value) of the image.
Only valid when NXOpen.Display.ImageBaseBuilder.ColorMode is set to NXOpen.Display.ImageBaseBuilder.ImageColorModes.Greyscale .
The length of the output array will always be 3. Each color value of the double array is in the range 0.0 to 1.0.
Created in NX9.0.0
License requirements: None.
|
inline |
Get the image corner points.
The points define a rectangular region and are ordered counter-clockwise.
Created in NX9.0.0
License requirements: None.
point1 | first corner point of image |
point2 | second corner point of image |
point3 | third corner point of image |
point4 | fourth corner point of image |
|
inline |
Gets the foreground color (RGB value) of the image.
Only valid when NXOpen.Display.ImageBaseBuilder.ColorMode is set to NXOpen.Display.ImageBaseBuilder.ImageColorModes.Greyscale .
The length of the output array will always be 3. Each color value of the double array is in the range 0.0 to 1.0.
Created in NX9.0.0
License requirements: None.
|
inline |
Provide a list of names of the NXOpen.Display.ImageData objects saved in current part file.
Created in NX9.0.0
License requirements: None.
|
inline |
Gets the transparency color (RGB value) of the image.
Only valid when NXOpen.Display.ImageBaseBuilder.TransparencyColorOption is set to NXOpen.Display.ImageBaseBuilder.TransparencyColorFrom.PixelColor .
The length of the output array will always be 3. Each color value of the double array is in the range 0.0 to 1.0.
Created in NX9.0.0
License requirements: None.
|
inline |
Orients and fits the work view's view direction along the reverse normal direction of the image
Created in NX9.0.0
License requirements: None.
|
inline |
Resets the image to its original size.
Created in NX9.0.0
License requirements: None.
|
inline |
Rotates the image 90 degrees counter-clockwise.
Created in NX9.0.0
License requirements: None.
|
inline |
Rotates the image 90 degrees clockwise.
Created in NX9.0.0
License requirements: None.
|
inline |
Sets the background color (RGB value) of the image.
Only valid when NXOpen.Display.ImageBaseBuilder.ColorMode is set to NXOpen.Display.ImageBaseBuilder.ImageColorModes.Greyscale .
The length of the input array should always be 3. Each color value of the double array must be in the range 0.0 to 1.0.
Created in NX9.0.0
License requirements: None.
backgroundColor | RGB color array |
|
inline |
Set the image corner points.
The points must define a rectangular region and be ordered counter-clockwise.
Created in NX9.0.0
License requirements: None.
point1 | first corner point of image |
point2 | second corner point of image |
point3 | third corner point of image |
point4 | fourth corner point of image |
|
inline |
Sets the foreground color (RGB value) of the image.
Only valid when NXOpen.Display.ImageBaseBuilder.ColorMode is set to NXOpen.Display.ImageBaseBuilder.ImageColorModes.Greyscale .
The length of the input array should always be 3. Each color value of the double array must be in the range 0.0 to 1.0.
Created in NX9.0.0
License requirements: None.
foregroundColor | RGB color array |
|
inline |
Set a NXOpen.Display.ImageData object currently stored in the part as the image used by the builder.
Created in NX9.0.0
License requirements: None.
imageName | Name of NXOpen.Display.ImageData object |
|
inline |
Sets the transparency color (RGB value) of the image.
Only valid when NXOpen.Display.ImageBaseBuilder.TransparencyColorOption is set to NXOpen.Display.ImageBaseBuilder.TransparencyColorFrom.PixelColor .
The length of the input array should always be 3. Each color value of the double array must be in the range 0.0 to 1.0.
Created in NX9.0.0
License requirements: None.
transparencyColor | RGB color array |
|
getset |
Returns or sets the image reference base point choice.
If you choose NXOpen.Display.ImageBaseBuilder.BasePointChoices.UserDefined , use NXOpen.Display.ImageBaseBuilder.UserBasePoint to set a point as the User-Defined point.
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the color mode to display the image.
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
get |
Returns the height of the image as an NXOpen.Expression .
The returned NXOpen.Expression is not associative to this object.
When NXOpen.Display.ImageBaseBuilder.SizeOption is set to NXOpen.Display.ImageBaseBuilder.SizeOptions.UserDefined , set the size of the image using NXOpen.Display.ImageBaseBuilder.SetCornerPoints .
Created in NX9.0.0
License requirements: None.
|
getset |
Returns or sets the image file
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the image reference point1.
Only valid when NXOpen.Display.ImageBaseBuilder.SizeOption is set to NXOpen.Display.ImageBaseBuilder.SizeOptions.ReferenceScaling .
Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the image reference point2.
Only valid when NXOpen.Display.ImageBaseBuilder.SizeOption is set to NXOpen.Display.ImageBaseBuilder.SizeOptions.ReferenceScaling .
Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the image reference point3.
Only valid when NXOpen.Display.ImageBaseBuilder.SizeOption is set to NXOpen.Display.ImageBaseBuilder.SizeOptions.ReferenceScaling and NXOpen.Display.ImageBaseBuilder.LockAspectRatio is False.
Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the insertion point of the image
Created in NX1847.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the image insertion point type
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the lock aspect ratio
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the model reference point1.
Only valid when NXOpen.Display.ImageBaseBuilder.SizeOption is set to NXOpen.Display.ImageBaseBuilder.SizeOptions.ReferenceScaling .
Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the model reference point2.
Only valid when NXOpen.Display.ImageBaseBuilder.SizeOption is set to NXOpen.Display.ImageBaseBuilder.SizeOptions.ReferenceScaling .
Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the model reference point3.
Only valid when NXOpen.Display.ImageBaseBuilder.SizeOption is set to NXOpen.Display.ImageBaseBuilder.SizeOptions.ReferenceScaling and NXOpen.Display.ImageBaseBuilder.LockAspectRatio is False.
Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the overall translucency.
The range of this value is 0 to 100.
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the transparency pixel color tolerance.
The range of this value is 0 to 255.
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the image alignment reference direction type.
NXOpen.Display.ImageBaseBuilder.ReferenceDirection.Horizontal means rotate the image to align its horizontal direction with the user-specified reference direction (if defined).
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
get |
Returns the current rotation angle of image from aligned reference direction
Created in NX9.0.0
License requirements: None.
|
getset |
Returns or sets the size option
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the transparency color option
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the user defined base point.
Only valid when NXOpen.Display.ImageBaseBuilder.BasePointChoice is set to NXOpen.Display.ImageBaseBuilder.BasePointChoices.UserDefined .
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the user defined insertion point
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the user defined reference direction vector.
A direction normal to the plane of the image is invalid.
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
get |
Returns the width of the image as an NXOpen.Expression .
The returned NXOpen.Expression is not associative to this object.
When NXOpen.Display.ImageBaseBuilder.SizeOption is set to NXOpen.Display.ImageBaseBuilder.SizeOptions.UserDefined , set the size of the image using NXOpen.Display.ImageBaseBuilder.SetCornerPoints .
Created in NX9.0.0
License requirements: None.