Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filter out UDF in checker

Status
Not open for further replies.

Bonde78

Mechanical
Apr 3, 2019
20
Hello everyone

How it is possible to filter out UDF in for examble the checker, that checks if a drawing is fully constrained, when making a custom checker in NX 11.

Thank you
 
Replies continue below

Recommended for you

Do anyone know how to restrict the mqc_askSketchConstrainStatus2() to only look at layers from 1-199? Have tried to do it with:

Code:
      $sketch_tag << mqc_askEntities( sketch);
      $old_sketches << mqc_sort_entities_by_layer( $sketch_tag, 1-199 );

and 

    ( List Parameter )    filter: {};
    ( String )            filter_label: "Filter Methods";
    ( Name Parameter )    filter_Layer_Mode: Include;
    ( List Parameter )    filter_Layer_Filter: {1-199};
                                        
    ( List )              object_list:mqc_pdqc_ask_object_list:(
                                         filter:,
                                         filter_Layer_Mode:,filter_Layer_Filter:,
                                         False);

But even so the constrain i would tag Sketches (UDF) on layer 200.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor