Search Results for

    Show / Hide Table of Contents

    Class UFSket

    Inheritance
    System.Object
    System.MarshalByRefObject
    NXRemotableObject
    UFSket
    Implements
    System.Runtime.Remoting.Messaging.IMessageSink
    Inherited Members
    NXRemotableObject.initialize()
    NXRemotableObject.SyncProcessMessage(IMessage)
    NXRemotableObject.AsyncProcessMessage(IMessage, IMessageSink)
    NXRemotableObject.NextSink
    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)
    Namespace: NXOpen.UF
    Assembly: NXOpen.UF.dll
    Syntax
    public class UFSket : NXRemotableObject, IMessageSink

    Methods

    AddConics(Tag, Int32, Tag[])

    Declaration
    public void AddConics(Tag sketch_tag, int count, Tag[] _object)
    Parameters
    Type Name Description
    Tag sketch_tag
    System.Int32 count
    Tag[] _object

    AddExtractedObjects(Tag, Int32, Tag[], Int32, out Int32, out Tag[])

    Declaration
    public void AddExtractedObjects(Tag sketch_tag, int count, Tag[] objects, int output_mode, out int num_extracted_objs, out Tag[] extracted_objs)
    Parameters
    Type Name Description
    Tag sketch_tag
    System.Int32 count
    Tag[] objects
    System.Int32 output_mode
    System.Int32 num_extracted_objs
    Tag[] extracted_objs

    AddObjects(Tag, Int32, Tag[])

    Declaration
    public void AddObjects(Tag sketch_tag, int count, Tag[] _object)
    Parameters
    Type Name Description
    Tag sketch_tag
    System.Int32 count
    Tag[] _object

    AskActiveSketch(out Tag)

    Declaration
    public void AskActiveSketch(out Tag sketch_tag)
    Parameters
    Type Name Description
    Tag sketch_tag

    AskConIsInferred(Tag, out Boolean)

    Declaration
    public void AskConIsInferred(Tag con_tag, out bool inferred_con_fl)
    Parameters
    Type Name Description
    Tag con_tag
    System.Boolean inferred_con_fl

    AskConstraintClass(Tag, out UFSket.ConClass)

    Declaration
    public void AskConstraintClass(Tag con_tag, out UFSket.ConClass con_class)
    Parameters
    Type Name Description
    Tag con_tag
    UFSket.ConClass con_class

    AskConstraintsOfGeometry(Tag, Tag, UFSket.ConClass, out Int32, out Tag[])

    Declaration
    public void AskConstraintsOfGeometry(Tag sketch_tag, Tag geom_tag, UFSket.ConClass con_class, out int con_num, out Tag[] con_tags)
    Parameters
    Type Name Description
    Tag sketch_tag
    Tag geom_tag
    UFSket.ConClass con_class
    System.Int32 con_num
    Tag[] con_tags

    AskConstraintsOfSketch(Tag, UFSket.ConClass, out Int32, out Tag[])

    Declaration
    public void AskConstraintsOfSketch(Tag sketch_tag, UFSket.ConClass con_class, out int num_cons, out Tag[] con_tags)
    Parameters
    Type Name Description
    Tag sketch_tag
    UFSket.ConClass con_class
    System.Int32 num_cons
    Tag[] con_tags

    AskConstraintType(Tag, out UFSket.ConType)

    Declaration
    public void AskConstraintType(Tag con_tag, out UFSket.ConType con_type)
    Parameters
    Type Name Description
    Tag con_tag
    UFSket.ConType con_type

    AskDimensionsOfSketch(Tag, out Int32, out Tag[])

    Declaration
    public void AskDimensionsOfSketch(Tag sketch_tag, out int num_dims, out Tag[] dim_tags)
    Parameters
    Type Name Description
    Tag sketch_tag
    System.Int32 num_dims
    Tag[] dim_tags

    AskDimStatus(Tag, out Tag, out String, out Double, out Int32)

    Declaration
    public void AskDimStatus(Tag dim_tag, out Tag exp_tag, out string exp_string, out double value, out int status)
    Parameters
    Type Name Description
    Tag dim_tag
    Tag exp_tag
    System.String exp_string
    System.Double value
    System.Int32 status

    AskExpsOfSketch(Tag, out Int32, out Tag[])

    Declaration
    public void AskExpsOfSketch(Tag sketch_tag, out int num_exps, out Tag[] expression_tags)
    Parameters
    Type Name Description
    Tag sketch_tag
    System.Int32 num_exps
    Tag[] expression_tags

    AskFaceSketches(Tag, out Tag[])

    Declaration
    public void AskFaceSketches(Tag _object, out Tag[] object_list)
    Parameters
    Type Name Description
    Tag _object
    Tag[] object_list

    AskFeatureSketches(Tag, out Tag[])

    Declaration
    public void AskFeatureSketches(Tag feature, out Tag[] object_list)
    Parameters
    Type Name Description
    Tag feature
    Tag[] object_list

    AskGeoConsOfGeometry(Tag, Tag, out Int32, out Tag[])

    Declaration
    public void AskGeoConsOfGeometry(Tag sketch_tag, Tag geom_tag, out int con_num, out Tag[] con_tags)
    Parameters
    Type Name Description
    Tag sketch_tag
    Tag geom_tag
    System.Int32 con_num
    Tag[] con_tags

    AskGeoConsOfSketch(Tag, out Int32, out Tag[])

    Declaration
    public void AskGeoConsOfSketch(Tag sketch_tag, out int num_cons, out Tag[] con_tags)
    Parameters
    Type Name Description
    Tag sketch_tag
    System.Int32 num_cons
    Tag[] con_tags

    AskGeomsOfSketch(Tag, out Int32, out Tag[])

    Declaration
    public void AskGeomsOfSketch(Tag sketch_tag, out int num_geoms, out Tag[] geom_tags)
    Parameters
    Type Name Description
    Tag sketch_tag
    System.Int32 num_geoms
    Tag[] geom_tags

    AskInferredConsOfSketch(Tag, out Int32, out Tag[])

    Declaration
    public void AskInferredConsOfSketch(Tag sketch_tag, out int num_cons, out Tag[] con_tags)
    Parameters
    Type Name Description
    Tag sketch_tag
    System.Int32 num_cons
    Tag[] con_tags

    AskLegacyPreferences(out Double, out Double, out String, Int32[], Int32[], out Double, out Int32, out Int32, out Int32)

    Declaration
    public void AskLegacyPreferences(out double snap_angle, out double cap_dist, out string pt_name, int[] auto_flag, int[] show_flag, out double char_size, out int dec_places, out int ext_lines, out int dim_label)
    Parameters
    Type Name Description
    System.Double snap_angle
    System.Double cap_dist
    System.String pt_name
    System.Int32[] auto_flag
    System.Int32[] show_flag
    System.Double char_size
    System.Int32 dec_places
    System.Int32 ext_lines
    System.Int32 dim_label

    AskPreferences(Tag, out Double, out String, out String, out String, out String, out String, out String, out Double, out Int32, out Int32)

    Declaration
    public void AskPreferences(Tag sketch_tag, out double snap_angle, out string name_prefix, out string vertex_prefix, out string line_prefix, out string arc_prefix, out string conic_prefix, out string spline_prefix, out double char_size, out int dec_places, out int dim_label)
    Parameters
    Type Name Description
    Tag sketch_tag
    System.Double snap_angle
    System.String name_prefix
    System.String vertex_prefix
    System.String line_prefix
    System.String arc_prefix
    System.String conic_prefix
    System.String spline_prefix
    System.Double char_size
    System.Int32 dec_places
    System.Int32 dim_label

    AskReferenceStatus(Tag, Tag, out UFSket.ReferenceStatus)

    Declaration
    public void AskReferenceStatus(Tag skt_tag, Tag member, out UFSket.ReferenceStatus status)
    Parameters
    Type Name Description
    Tag skt_tag
    Tag member
    UFSket.ReferenceStatus status

    AskSketchFeatures(Tag, out Tag[])

    Declaration
    public void AskSketchFeatures(Tag sketch_tag, out Tag[] object_list)
    Parameters
    Type Name Description
    Tag sketch_tag
    Tag[] object_list

    AskSketchInfo(Tag, out UFSket.Info)

    Declaration
    public void AskSketchInfo(Tag sketch_tag, out UFSket.Info sket_info)
    Parameters
    Type Name Description
    Tag sketch_tag
    UFSket.Info sket_info

    AskSketchOfGeom(Tag, out Tag)

    Declaration
    public void AskSketchOfGeom(Tag geom_tag, out Tag sketch_tag)
    Parameters
    Type Name Description
    Tag geom_tag
    Tag sketch_tag

    AskSketchStatus(Tag, out UFSket.Status, out Int32)

    Declaration
    public void AskSketchStatus(Tag sketch_tag, out UFSket.Status sket_status, out int dof_needed)
    Parameters
    Type Name Description
    Tag sketch_tag
    UFSket.Status sket_status
    System.Int32 dof_needed

    AskSketFrecEid(Tag, out Tag)

    Declaration
    public void AskSketFrecEid(Tag sket_eid, out Tag sket_frec_eid)
    Parameters
    Type Name Description
    Tag sket_eid
    Tag sket_frec_eid

    AttachToFace(Tag, Tag, Tag, Int32[], Int32, out Tag)

    Declaration
    public void AttachToFace(Tag sketch_tag, Tag face_tag, Tag ref_tag, int[] ref_info, int plane_dir, out Tag sketch_feature_tag)
    Parameters
    Type Name Description
    Tag sketch_tag
    Tag face_tag
    Tag ref_tag
    System.Int32[] ref_info
    System.Int32 plane_dir
    Tag sketch_feature_tag

    CreateDimension(Tag, UFSket.ConType, ref UFSket.DimObject, ref UFSket.DimObject, Double[], out Tag)

    Declaration
    public void CreateDimension(Tag sketch_tag, UFSket.ConType dim_type, ref UFSket.DimObject dim_object1, ref UFSket.DimObject dim_object2, double[] dim_origin, out Tag dim_tag)
    Parameters
    Type Name Description
    Tag sketch_tag
    UFSket.ConType dim_type
    UFSket.DimObject dim_object1
    UFSket.DimObject dim_object2
    System.Double[] dim_origin
    Tag dim_tag

    CreateDimensionalConstraint(Tag, UFSket.ConType, Int32, UFSket.DimObject[], Double[], out Tag)

    Declaration
    public void CreateDimensionalConstraint(Tag sketch_tag, UFSket.ConType dim_type, int num_dim_obj, UFSket.DimObject[] dim_objs, double[] dim_origin, out Tag con_tag)
    Parameters
    Type Name Description
    Tag sketch_tag
    UFSket.ConType dim_type
    System.Int32 num_dim_obj
    UFSket.DimObject[] dim_objs
    System.Double[] dim_origin
    Tag con_tag

    CreateGeometricConstraint(Tag, UFSket.ConType, Int32, UFSket.ConGeom[], out Tag)

    Declaration
    public void CreateGeometricConstraint(Tag sketch_tag, UFSket.ConType con_type, int num_con_geoms, UFSket.ConGeom[] con_geoms, out Tag con_tag)
    Parameters
    Type Name Description
    Tag sketch_tag
    UFSket.ConType con_type
    System.Int32 num_con_geoms
    UFSket.ConGeom[] con_geoms
    Tag con_tag

    CreateSketch(String, Int32, Double[], Tag[], Int32[], Int32, out Tag)

    Declaration
    public void CreateSketch(string name, int option, double[] matrix, Tag[] _object, int[] reference, int plane_dir, out Tag sketch_id)
    Parameters
    Type Name Description
    System.String name
    System.Int32 option
    System.Double[] matrix
    Tag[] _object
    System.Int32[] reference
    System.Int32 plane_dir
    Tag sketch_id

    DeleteConstraints(Int32, Tag[])

    Declaration
    public void DeleteConstraints(int num_cons, Tag[] con_tags)
    Parameters
    Type Name Description
    System.Int32 num_cons
    Tag[] con_tags

    DeleteDimensions(Int32, Tag[])

    Declaration
    public void DeleteDimensions(int num_dims, Tag[] dim_tags)
    Parameters
    Type Name Description
    System.Int32 num_dims
    Tag[] dim_tags

    DeleteLegacyConstraint(Int32, Tag[], Int32[], Int32)

    Declaration
    public void DeleteLegacyConstraint(int type, Tag[] obj_list, int[] assoc_var_list, int delete_all)
    Parameters
    Type Name Description
    System.Int32 type
    Tag[] obj_list
    System.Int32[] assoc_var_list
    System.Int32 delete_all

    InitializeSketch(ref String, out Tag)

    Declaration
    public void InitializeSketch(ref string name, out Tag _object)
    Parameters
    Type Name Description
    System.String name
    Tag _object

    IsOutOfDate(Tag, out Boolean)

    Declaration
    public void IsOutOfDate(Tag sket_eid, out bool out_of_date)
    Parameters
    Type Name Description
    Tag sket_eid
    System.Boolean out_of_date

    MirrorObjects(Tag, Tag, Int32, Tag[], out Int32, out Tag[], out Tag[])

    Declaration
    public void MirrorObjects(Tag sketch_tag, Tag center_line_tag, int num_objs, Tag[] obj_tags, out int num_new_objs, out Tag[] new_obj_tags, out Tag[] con_tags)
    Parameters
    Type Name Description
    Tag sketch_tag
    Tag center_line_tag
    System.Int32 num_objs
    Tag[] obj_tags
    System.Int32 num_new_objs
    Tag[] new_obj_tags
    Tag[] con_tags

    ReadDimension(Tag, Tag, out UFSket.ConType, out UFSket.DimObject, out UFSket.DimObject, Double[], out Tag)

    Declaration
    public void ReadDimension(Tag sketch_tag, Tag dim_tag, out UFSket.ConType dim_type, out UFSket.DimObject dim_object1, out UFSket.DimObject dim_object2, double[] dim_origin, out Tag dim_exp)
    Parameters
    Type Name Description
    Tag sketch_tag
    Tag dim_tag
    UFSket.ConType dim_type
    UFSket.DimObject dim_object1
    UFSket.DimObject dim_object2
    System.Double[] dim_origin
    Tag dim_exp

    ReadDimensionalConstraint(Tag, Tag, out UFSket.ConType, out Int32, out UFSket.DimObject[], Double[], out Tag, out Tag)

    Declaration
    public void ReadDimensionalConstraint(Tag sketch_tag, Tag con_tag, out UFSket.ConType dim_type, out int num_dim_obj, out UFSket.DimObject[] dim_objs, double[] dim_origin, out Tag dim_tag, out Tag exp_tag)
    Parameters
    Type Name Description
    Tag sketch_tag
    Tag con_tag
    UFSket.ConType dim_type
    System.Int32 num_dim_obj
    UFSket.DimObject[] dim_objs
    System.Double[] dim_origin
    Tag dim_tag
    Tag exp_tag

    ReadGeometricConstraint(Tag, Tag, out UFSket.ConType, out Int32, out UFSket.ConGeom[])

    Declaration
    public void ReadGeometricConstraint(Tag sketch_tag, Tag con_tag, out UFSket.ConType con_type, out int geom_count, out UFSket.ConGeom[] con_geoms)
    Parameters
    Type Name Description
    Tag sketch_tag
    Tag con_tag
    UFSket.ConType con_type
    System.Int32 geom_count
    UFSket.ConGeom[] con_geoms

    SetLegacyPreferences(Int32[], Double, Double, String, Int32[], Int32[], Double, Int32, Int32, Int32)

    Declaration
    public void SetLegacyPreferences(int[] values, double snap_angle, double cap_dist, string pt_name, int[] auto_flag, int[] show_flag, double char_size, int dec_places, int ext_lines, int dim_label)
    Parameters
    Type Name Description
    System.Int32[] values
    System.Double snap_angle
    System.Double cap_dist
    System.String pt_name
    System.Int32[] auto_flag
    System.Int32[] show_flag
    System.Double char_size
    System.Int32 dec_places
    System.Int32 ext_lines
    System.Int32 dim_label

    SetPreferences(Tag, Int32[], Double, String, String, String, String, String, String, Double, Int32, Int32)

    Declaration
    public void SetPreferences(Tag sketch_tag, int[] values, double snap_angle, string name_prefix, string vertex_prefix, string line_prefix, string arc_prefix, string conic_prefix, string spline_prefix, double char_size, int dec_places, int dim_label)
    Parameters
    Type Name Description
    Tag sketch_tag
    System.Int32[] values
    System.Double snap_angle
    System.String name_prefix
    System.String vertex_prefix
    System.String line_prefix
    System.String arc_prefix
    System.String conic_prefix
    System.String spline_prefix
    System.Double char_size
    System.Int32 dec_places
    System.Int32 dim_label

    SetReferenceStatus(Tag, Tag, UFSket.ReferenceStatus)

    Declaration
    public void SetReferenceStatus(Tag skt_tag, Tag member, UFSket.ReferenceStatus status)
    Parameters
    Type Name Description
    Tag skt_tag
    Tag member
    UFSket.ReferenceStatus status

    TerminateSketch()

    Declaration
    public void TerminateSketch()

    UpdateSketch(Tag)

    Declaration
    public void UpdateSketch(Tag sketch_tag)
    Parameters
    Type Name Description
    Tag sketch_tag

    Implements

    System.Runtime.Remoting.Messaging.IMessageSink
    In This Article
    Back to top Generated by DocFX