C# NX二次开发:绘图区控件和指定矢量控件详解
大家好,今天介绍ug二次开发过程中的两个叫绘图区和指定矢量的控件,这个控件在块UI编辑器中可以使用。
绘图区这个控件的属性和方法如下所示:
public class DrawingArea : UIBlock
{
protected internal DrawingArea();
public int Height { get; set; }
public string Image { get; set; }
public int Width { get; set; }
}
指定矢量这个控件的属性和方法如下所示:
public class SpecifyVector : UIBlock
{
protected internal SpecifyVector();
public int SnapPointTypesOnByDefault { get; set; }
public bool ShowShortcuts { get; set; }
public Point3d Point { get; set; }
public string LabelString { get; set; }
public bool Is2DMode { get; set; }
public string InterpartSelectionAsString { get; set; }
public bool EnableReverseDirection { get; set; }
public bool EnableFacetSelection { get; set; }
public bool DoubleSide { get; set; }
public bool CreateInterpartLink { get; set; }
public string BalloonTooltipText { get; set; }
public string BalloonTooltipLayoutAsString { get; set; }
public string BalloonTooltipImage { get; set; }
public bool AutomaticProgression { get; set; }
public string StepStatusAsString { get; set; }
public Vector3d Vector { get; set; }
public string[] GetBalloonTooltipLayoutMembers();
public string[] GetInterpartSelectionMembers();
public TaggedObject[] GetSelectedObjects();
public string[] GetStepStatusMembers();
public void SetSelectedObjects(TaggedObject[] objectVector);
}
今天要介绍的就是这么多,我们下篇文章再见。