Class UFDisp
Inheritance
System.Object
System.MarshalByRefObject
UFDisp
Implements
System.Runtime.Remoting.Messaging.IMessageSink
Inherited Members
System.MarshalByRefObject.CreateObjRef(System.Type)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: NXOpen.UF.dll
Syntax
public class UFDisp : NXRemotableObject, IMessageSink
Methods
ActivateGrid(UFDisp.GridContext)
Declaration
public void ActivateGrid(UFDisp.GridContext product_context)
Parameters
AddItemToDisplay(Tag)
Declaration
public void AddItemToDisplay(Tag object_id)
Parameters
Type |
Name |
Description |
Tag |
object_id |
|
AskClosestColor(Int32, Double[], Int32, out Int32)
Declaration
public void AskClosestColor(int clr_model, double[] clr_values, int clr_cmp_mtd, out int clr_num)
Parameters
Type |
Name |
Description |
System.Int32 |
clr_model |
|
System.Double[] |
clr_values |
|
System.Int32 |
clr_cmp_mtd |
|
System.Int32 |
clr_num |
|
AskClosestColorInDisplayedPart(UFDisp.ColorName, out Int32)
Declaration
public void AskClosestColorInDisplayedPart(UFDisp.ColorName color_name, out int color_index)
Parameters
AskClosestColorInPart(Tag, UFDisp.ColorName, out Int32)
Declaration
public void AskClosestColorInPart(Tag object_in_part, UFDisp.ColorName color_name, out int color_index)
Parameters
AskColor(Int32, Int32, out String, Double[])
Declaration
public void AskColor(int clr_num, int clr_model, out string clr_name, double[] clr_values)
Parameters
Type |
Name |
Description |
System.Int32 |
clr_num |
|
System.Int32 |
clr_model |
|
System.String |
clr_name |
|
System.Double[] |
clr_values |
|
AskColorCount(out Int32)
Declaration
public void AskColorCount(out int count)
Parameters
Type |
Name |
Description |
System.Int32 |
count |
|
AskCurrentGridContext()
Declaration
public UFDisp.GridContext AskCurrentGridContext()
Returns
AskCurrentlySelectedMaterial(out UFDisp.MaterialSource, out Tag, out String)
Declaration
public void AskCurrentlySelectedMaterial(out UFDisp.MaterialSource material_source, out Tag material_tag, out string material_full_archive_name)
Parameters
AskDecals(Tag, out Int32, out Tag[])
Declaration
public void AskDecals(Tag object_tag, out int num_decals, out Tag[] decal_materials)
Parameters
Type |
Name |
Description |
Tag |
object_tag |
|
System.Int32 |
num_decals |
|
Tag[] |
decal_materials |
|
AskDisplay(out Int32)
Declaration
public void AskDisplay(out int display_code)
Parameters
Type |
Name |
Description |
System.Int32 |
display_code |
|
AskDisplayContext(IntPtr, out UFDisp.Inquire)
Declaration
public void AskDisplayContext(IntPtr context, out UFDisp.Inquire inquiry)
Parameters
AskDrawingDisplay(out UFDisp.DrawingDisplayData)
Declaration
public void AskDrawingDisplay(out UFDisp.DrawingDisplayData drawing_display)
Parameters
AskGeometryOfMaterial(Tag, out Int32, out Tag[])
Declaration
public void AskGeometryOfMaterial(Tag material_tag, out int object_count, out Tag[] object_tags)
Parameters
Type |
Name |
Description |
Tag |
material_tag |
|
System.Int32 |
object_count |
|
Tag[] |
object_tags |
|
AskGridParameters(UFDisp.GridContext, out UFDisp.Grid)
Declaration
public void AskGridParameters(UFDisp.GridContext product_context, out UFDisp.Grid output_grid)
Parameters
AskLibraryMaterialLwaUserAreaData(String, String, out String)
Declaration
public void AskLibraryMaterialLwaUserAreaData(string material_full_archive_name, string attribute_string_key, out string attribute_data)
Parameters
Type |
Name |
Description |
System.String |
material_full_archive_name |
|
System.String |
attribute_string_key |
|
System.String |
attribute_data |
|
AskMaterial(Tag, out Tag, out String)
Declaration
public void AskMaterial(Tag object_tag, out Tag material_tag, out string material_name)
Parameters
Type |
Name |
Description |
Tag |
object_tag |
|
Tag |
material_tag |
|
System.String |
material_name |
|
Declaration
public void AskMaterialsInPart(Tag part_tag, UFDisp.MaterialFormatType material_format_type, out int material_count, out Tag[] material_tags, out string[] material_names)
Parameters
Type |
Name |
Description |
Tag |
part_tag |
|
UFDisp.MaterialFormatType |
material_format_type |
|
System.Int32 |
material_count |
|
Tag[] |
material_tags |
|
System.String[] |
material_names |
|
AskModelBounds(Tag, Double[])
Declaration
public void AskModelBounds(Tag model_bounds_obj, double[] model_bounds)
Parameters
Type |
Name |
Description |
Tag |
model_bounds_obj |
|
System.Double[] |
model_bounds |
|
AskModelBoundsTag(out Tag)
Declaration
public void AskModelBoundsTag(out Tag model_bounds_object)
Parameters
Type |
Name |
Description |
Tag |
model_bounds_object |
|
AskNameDisplayStatus(out Int32)
Declaration
public void AskNameDisplayStatus(out int current_status)
Parameters
Type |
Name |
Description |
System.Int32 |
current_status |
|
AskNameViewStatus(out Int32)
Declaration
public void AskNameViewStatus(out int current_status)
Parameters
Type |
Name |
Description |
System.Int32 |
current_status |
|
AskSrfanlParams(out UFDisp.SrfanlData)
Declaration
public void AskSrfanlParams(out UFDisp.SrfanlData _params)
Parameters
AskSystemParameters(out UFDisp.SystemParams)
Declaration
public void AskSystemParameters(out UFDisp.SystemParams system_parameters)
Parameters
AskTextureSpaceInfo(Tag, out UFDisp.TextureSpaceInfo, out Int32)
Declaration
public void AskTextureSpaceInfo(Tag material_tag, out UFDisp.TextureSpaceInfo ts_info_ptr, out int ts_info_defined)
Parameters
AskWorkPartMaterialLwaUserAreaData(Tag, String, out String)
Declaration
public void AskWorkPartMaterialLwaUserAreaData(Tag material_tag, string attribute_string_key, out string attribute_data)
Parameters
Type |
Name |
Description |
Tag |
material_tag |
|
System.String |
attribute_string_key |
|
System.String |
attribute_data |
|
AskWorkPlaneDimClr(out Int32)
Declaration
[Obsolete("Deprecated")]
public void AskWorkPlaneDimClr(out int color)
Parameters
Type |
Name |
Description |
System.Int32 |
color |
|
AskWorkPlaneEmphasis(out Int32)
Declaration
public void AskWorkPlaneEmphasis(out int emphasis)
Parameters
Type |
Name |
Description |
System.Int32 |
emphasis |
|
AskWorkPlaneSel(out Int32)
Declaration
public void AskWorkPlaneSel(out int _override)
Parameters
Type |
Name |
Description |
System.Int32 |
_override |
|
AssignMaterial(Tag, Tag)
Declaration
public void AssignMaterial(Tag material_tag, Tag object_tag)
Parameters
Type |
Name |
Description |
Tag |
material_tag |
|
Tag |
object_tag |
|
BatchShade(String, Int32, Int32, UFDisp.ShadeMethod)
Declaration
public void BatchShade(string filename, int x_size, int y_size, UFDisp.ShadeMethod method)
Parameters
Type |
Name |
Description |
System.String |
filename |
|
System.Int32 |
x_size |
|
System.Int32 |
y_size |
|
UFDisp.ShadeMethod |
method |
|
BatchShadeOptions(String, Int32, Int32, UFDisp.ShadeMethod, ref UFDisp.ShadeOptions)
Declaration
public void BatchShadeOptions(string filename, int x_size, int y_size, UFDisp.ShadeMethod method, ref UFDisp.ShadeOptions options)
Parameters
ComputeModelBounds(out Boolean, Double[])
Declaration
public void ComputeModelBounds(out bool bounds_computed, double[] model_bounds)
Parameters
Type |
Name |
Description |
System.Boolean |
bounds_computed |
|
System.Double[] |
model_bounds |
|
Conehead(Int32, Double[], Double[], Int32)
Declaration
public void Conehead(int display_flag, double[] coord, double[] vector, int anchor_flag)
Parameters
Type |
Name |
Description |
System.Int32 |
display_flag |
|
System.Double[] |
coord |
|
System.Double[] |
vector |
|
System.Int32 |
anchor_flag |
|
CopyLwaArchiveMaterialToWorkPart(String, out Tag)
Declaration
public void CopyLwaArchiveMaterialToWorkPart(string material_name, out Tag material_tag)
Parameters
Type |
Name |
Description |
System.String |
material_name |
|
Tag |
material_tag |
|
CopyMaterial(Tag, out Tag, out String)
Declaration
public void CopyMaterial(Tag material_tag, out Tag new_material_tag, out string new_material_name)
Parameters
Type |
Name |
Description |
Tag |
material_tag |
|
Tag |
new_material_tag |
|
System.String |
new_material_name |
|
CreateAnimation(String, String, Int32, Int32)
Declaration
public void CreateAnimation(string filename, string animation_name, int first_frame, int last_frame)
Parameters
Type |
Name |
Description |
System.String |
filename |
|
System.String |
animation_name |
|
System.Int32 |
first_frame |
|
System.Int32 |
last_frame |
|
Declaration
[Obsolete("Deprecated")]
public void CreateFramedImage(string filename, UFDisp.ImageFormat format, UFDisp.BackgroundColor color, int[] upper_left_corner, int width, int height)
Parameters
Declaration
[Obsolete("Deprecated")]
public void CreateImage(string filename, UFDisp.ImageFormat format, UFDisp.BackgroundColor color)
Parameters
CreateMaterial(String, out Tag, out String)
Declaration
public void CreateMaterial(string studio_system_material_name, out Tag new_material_tag, out string new_material_name)
Parameters
Type |
Name |
Description |
System.String |
studio_system_material_name |
|
Tag |
new_material_tag |
|
System.String |
new_material_name |
|
DeactivateGrid(UFDisp.GridContext, Boolean)
Declaration
public void DeactivateGrid(UFDisp.GridContext product_context, bool restore_prev_context_grid)
Parameters
Type |
Name |
Description |
UFDisp.GridContext |
product_context |
|
System.Boolean |
restore_prev_context_grid |
|
DeleteMaterial(Tag)
Declaration
public void DeleteMaterial(Tag material_tag)
Parameters
Type |
Name |
Description |
Tag |
material_tag |
|
DisplayArc(Double[], Double, Double, Double[], Double, ref IntPtr)
Declaration
public void DisplayArc(double[] matrix, double start_angle, double end_angle, double[] arc_center, double radius, ref IntPtr context)
Parameters
Type |
Name |
Description |
System.Double[] |
matrix |
|
System.Double |
start_angle |
|
System.Double |
end_angle |
|
System.Double[] |
arc_center |
|
System.Double |
radius |
|
System.IntPtr |
context |
|
DisplayCircle(Double[], Double[], Double, Boolean, ref IntPtr)
Declaration
public void DisplayCircle(double[] matrix, double[] circle_center, double radius, bool filled, ref IntPtr context)
Parameters
Type |
Name |
Description |
System.Double[] |
matrix |
|
System.Double[] |
circle_center |
|
System.Double |
radius |
|
System.Boolean |
filled |
|
System.IntPtr |
context |
|
DisplayOgpArc(Tag, Double[], Double, Double, Double[], Double)
Declaration
public void DisplayOgpArc(Tag view_tag, double[] orientation, double start_angle, double end_angle, double[] center, double radius)
Parameters
Type |
Name |
Description |
Tag |
view_tag |
|
System.Double[] |
orientation |
|
System.Double |
start_angle |
|
System.Double |
end_angle |
|
System.Double[] |
center |
|
System.Double |
radius |
|
DisplayOgpCircle(Tag, Double[], Double[], Double)
Declaration
public void DisplayOgpCircle(Tag view_tag, double[] orientation, double[] center, double radius)
Parameters
Type |
Name |
Description |
Tag |
view_tag |
|
System.Double[] |
orientation |
|
System.Double[] |
center |
|
System.Double |
radius |
|
DisplayOgpLine(Tag, Double[], Double[])
Declaration
public void DisplayOgpLine(Tag view_tag, double[] pos1, double[] pos2)
Parameters
Type |
Name |
Description |
Tag |
view_tag |
|
System.Double[] |
pos1 |
|
System.Double[] |
pos2 |
|
DisplayOgpPolyline(Tag, Double[,], Int32)
Declaration
public void DisplayOgpPolyline(Tag view_tag, double[, ] pos_array, int pos_count)
Parameters
Type |
Name |
Description |
Tag |
view_tag |
|
System.Double[,] |
pos_array |
|
System.Int32 |
pos_count |
|
DisplayPoints(Double[], Int32, UFDisp.PolyMarker, ref IntPtr)
Declaration
public void DisplayPoints(double[] points, int num_points, UFDisp.PolyMarker marker_type, ref IntPtr context)
Parameters
Type |
Name |
Description |
System.Double[] |
points |
|
System.Int32 |
num_points |
|
UFDisp.PolyMarker |
marker_type |
|
System.IntPtr |
context |
|
DisplayPolygon(Double[], Int32, Boolean, ref IntPtr)
Declaration
public void DisplayPolygon(double[] points, int num_points, bool filled, ref IntPtr context)
Parameters
Type |
Name |
Description |
System.Double[] |
points |
|
System.Int32 |
num_points |
|
System.Boolean |
filled |
|
System.IntPtr |
context |
|
DisplayPolyline(Double[], Int32, ref IntPtr)
Declaration
public void DisplayPolyline(double[] poly_points, int num_points, ref IntPtr context)
Parameters
Type |
Name |
Description |
System.Double[] |
poly_points |
|
System.Int32 |
num_points |
|
System.IntPtr |
context |
|
DisplayRpoDimensions(Tag, Int32, Tag[], Int32, Int32, Int32)
Declaration
public void DisplayRpoDimensions(Tag feature_tag, int exp_count, Tag[] exp_tags, int view_option, int color_option, int color)
Parameters
Type |
Name |
Description |
Tag |
feature_tag |
|
System.Int32 |
exp_count |
|
Tag[] |
exp_tags |
|
System.Int32 |
view_option |
|
System.Int32 |
color_option |
|
System.Int32 |
color |
|
DisplaySketDimensions(Tag, Int32, Tag[], Int32, Int32, Int32)
Declaration
public void DisplaySketDimensions(Tag sketch_tag, int exp_count, Tag[] exp_tags, int view_option, int color_option, int color)
Parameters
Type |
Name |
Description |
Tag |
sketch_tag |
|
System.Int32 |
exp_count |
|
Tag[] |
exp_tags |
|
System.Int32 |
view_option |
|
System.Int32 |
color_option |
|
System.Int32 |
color |
|
DisplayTemporaryArc(Tag, UFDisp.ViewType, Double[], Double, Double, Double[], Double, ref UFObj.DispProps)
Declaration
public void DisplayTemporaryArc(Tag view_tag, UFDisp.ViewType which_views, double[] matrix, double start_angle, double end_angle, double[] arc_center, double radius, ref UFObj.DispProps attrib)
Parameters
Type |
Name |
Description |
Tag |
view_tag |
|
UFDisp.ViewType |
which_views |
|
System.Double[] |
matrix |
|
System.Double |
start_angle |
|
System.Double |
end_angle |
|
System.Double[] |
arc_center |
|
System.Double |
radius |
|
UFObj.DispProps |
attrib |
|
DisplayTemporaryLine(Tag, UFDisp.ViewType, Double[], Double[], ref UFObj.DispProps)
Declaration
public void DisplayTemporaryLine(Tag view_tag, UFDisp.ViewType which_views, double[] start_line, double[] end_line, ref UFObj.DispProps attrib)
Parameters
DisplayTemporaryPoint(Tag, UFDisp.ViewType, Double[], ref UFObj.DispProps, UFDisp.PolyMarker)
Declaration
public void DisplayTemporaryPoint(Tag view_tag, UFDisp.ViewType which_views, double[] markerpos, ref UFObj.DispProps color, UFDisp.PolyMarker marker_type)
Parameters
DisplayTemporaryText(Tag, UFDisp.ViewType, String, Double[], UFDisp.TextRef, ref UFObj.DispProps, Double, Int32)
Declaration
public void DisplayTemporaryText(Tag view_tag, UFDisp.ViewType which_views, string text, double[] text_coord, UFDisp.TextRef ref_point, ref UFObj.DispProps color, double char_size, int hardware)
Parameters
DisplayText(String, Double[], UFDisp.TextRef, ref IntPtr)
Declaration
public void DisplayText(string text, double[] text_coord, UFDisp.TextRef ref_point, ref IntPtr context)
Parameters
Type |
Name |
Description |
System.String |
text |
|
System.Double[] |
text_coord |
|
UFDisp.TextRef |
ref_point |
|
System.IntPtr |
context |
|
Declaration
public void ExportWindowsMetafile(UFDisp.WmfOutput output_type, string file_spec)
Parameters
FreeTempFacetData()
Declaration
public void FreeTempFacetData()
GenerateTextureCoordinates(ref UFDisp.TextureSpaceInfo, ref UFDisp.FaceFacetData, out Double[])
Declaration
public void GenerateTextureCoordinates(ref UFDisp.TextureSpaceInfo ts_info, ref UFDisp.FaceFacetData face_facet_data, out double[] texture_coords)
Parameters
GetConeheadAttrb(out UFDisp.ConeheadAttrbSTag)
Declaration
public void GetConeheadAttrb(out UFDisp.ConeheadAttrbSTag attributes)
Parameters
GetFacetData(Tag, out Int32, out UFDisp.FaceFacetData[])
Declaration
public void GetFacetData(Tag object_tag, out int num_faces, out UFDisp.FaceFacetData[] face_facet_data)
Parameters
J3dGeometry(Int32, out Int32, out UFDisp.J3dEntity[])
Declaration
public void J3dGeometry(int wireframe, out int num_entities, out UFDisp.J3dEntity[] entity_list)
Parameters
Type |
Name |
Description |
System.Int32 |
wireframe |
|
System.Int32 |
num_entities |
|
UFDisp.J3dEntity[] |
entity_list |
|
LabeledConehead(Int32, Double[], Double[], Int32, String)
Declaration
public void LabeledConehead(int display_flag, double[] coord, double[] vector, int anchor_flag, string label)
Parameters
Type |
Name |
Description |
System.Int32 |
display_flag |
|
System.Double[] |
coord |
|
System.Double[] |
vector |
|
System.Int32 |
anchor_flag |
|
System.String |
label |
|
LoadColorTable()
Declaration
public void LoadColorTable()
MakeDisplayUpToDate()
Declaration
public void MakeDisplayUpToDate()
OpenLwaArchiveMaterialsLibrary(String)
Declaration
public void OpenLwaArchiveMaterialsLibrary(string lwa_archive_library_name)
Parameters
Type |
Name |
Description |
System.String |
lwa_archive_library_name |
|
PrintWindowUgImage(Int32, Int32)
Declaration
public void PrintWindowUgImage(int format, int color_usage)
Parameters
Type |
Name |
Description |
System.Int32 |
format |
|
System.Int32 |
color_usage |
|
Refresh()
Declaration
RegenerateDisplay()
Declaration
public void RegenerateDisplay()
RegenerateView(Tag)
Declaration
public void RegenerateView(Tag view_tag)
Parameters
Type |
Name |
Description |
Tag |
view_tag |
|
RemoveMaterialAssignment(Tag)
Declaration
public void RemoveMaterialAssignment(Tag object_tag)
Parameters
Type |
Name |
Description |
Tag |
object_tag |
|
ResetConeheadAttrb()
Declaration
public void ResetConeheadAttrb()
SetColor(Int32, Int32, String, Double[])
Declaration
public void SetColor(int clr_num, int clr_model, string clr_name, double[] clr_values)
Parameters
Type |
Name |
Description |
System.Int32 |
clr_num |
|
System.Int32 |
clr_model |
|
System.String |
clr_name |
|
System.Double[] |
clr_values |
|
SetConeheadAttrb(ref UFDisp.ConeheadAttrbSTag)
Declaration
public void SetConeheadAttrb(ref UFDisp.ConeheadAttrbSTag attributes)
Parameters
SetDisplay(Int32)
Declaration
public void SetDisplay(int display_code)
Parameters
Type |
Name |
Description |
System.Int32 |
display_code |
|
SetDrawingDisplay(ref UFDisp.DrawingDisplayData)
Declaration
public void SetDrawingDisplay(ref UFDisp.DrawingDisplayData drawing_display)
Parameters
SetGridParameters(UFDisp.GridContext, ref UFDisp.Grid)
Declaration
public void SetGridParameters(UFDisp.GridContext product_context, ref UFDisp.Grid input_grid)
Parameters
SetHighlight(Tag, Int32)
Declaration
public void SetHighlight(Tag object_id, int action_switch)
Parameters
Type |
Name |
Description |
Tag |
object_id |
|
System.Int32 |
action_switch |
|
SetHighlights(Int32, Tag[], Int32)
Declaration
public void SetHighlights(int object_count, Tag[] object_list, int action_switch)
Parameters
Type |
Name |
Description |
System.Int32 |
object_count |
|
Tag[] |
object_list |
|
System.Int32 |
action_switch |
|
SetModelBounds(Tag, Double[])
Declaration
public void SetModelBounds(Tag model_bounds_object, double[] model_bounds)
Parameters
Type |
Name |
Description |
Tag |
model_bounds_object |
|
System.Double[] |
model_bounds |
|
SetNameDisplayStatus(Int32)
Declaration
public void SetNameDisplayStatus(int new_status)
Parameters
Type |
Name |
Description |
System.Int32 |
new_status |
|
SetNameViewStatus(Int32)
Declaration
public void SetNameViewStatus(int new_status)
Parameters
Type |
Name |
Description |
System.Int32 |
new_status |
|
SetSrfanlParams(ref UFDisp.SrfanlData)
Declaration
public void SetSrfanlParams(ref UFDisp.SrfanlData _params)
Parameters
SetSystemParameters(ref UFDisp.SystemParams)
Declaration
public void SetSystemParameters(ref UFDisp.SystemParams system_parameters)
Parameters
SetTextureSpaceInfo(Tag, ref UFDisp.TextureSpaceInfo)
Declaration
public void SetTextureSpaceInfo(Tag material_tag, ref UFDisp.TextureSpaceInfo ts_info_ptr)
Parameters
SetWorkPlaneDimClr(Int32)
Declaration
[Obsolete("Deprecated")]
public void SetWorkPlaneDimClr(int dim_color)
Parameters
Type |
Name |
Description |
System.Int32 |
dim_color |
|
SetWorkPlaneEmphasis(Int32)
Declaration
public void SetWorkPlaneEmphasis(int emphasis)
Parameters
Type |
Name |
Description |
System.Int32 |
emphasis |
|
SetWorkPlaneSel(Int32)
Declaration
public void SetWorkPlaneSel(int _override)
Parameters
Type |
Name |
Description |
System.Int32 |
_override |
|
UpdateMaterialDisplayOfGeometry(Int32, Tag[])
Declaration
public void UpdateMaterialDisplayOfGeometry(int object_count, Tag[] object_list)
Parameters
Type |
Name |
Description |
System.Int32 |
object_count |
|
Tag[] |
object_list |
|
Implements
System.Runtime.Remoting.Messaging.IMessageSink