Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Recent content by ufsure

  1. ufsure

    Checkmate

    As per docs mqc_askBlendRadius() will return the blend radius of Edge Blend tag. So a face blend tag will be invalid. Suresh www.technisites.com.au
  2. ufsure

    Checkmate customization

    Had a typo and syntax error. mqc_askFeaturbyType should be mqc_askFeaturesByType. Below is the code. #! NX/KF 3.0 # DefClass: check_blend1 ( %ug_base_checker ); ( String ) %test_category: "TEST.My"; ( String ) %displayed_name: "Blend1"; ( Boolean Parameter ) Disabled...
  3. ufsure

    Checkmate customization

    If you post your complete checker code, I can test. Suresh www.technisites.com.au
  4. ufsure

    Checkmate customization

    Not sure what the problem is. Do you have Checkmate execute license? Suresh www.technisites.com.au
  5. ufsure

    Checkmate customization

    The mqc_askBlendRadius() needs the tag of the blend. Look at the snippet below. $feats << mqc_askFeaturesByType( "BLEND" ); $blend_feats << Loop { For $each_feat in $feats; For $cur_blend_value is mqc_askBlendRadius( $each_feat ); If( your conditional statement ) Append {$each_feat}...
  6. ufsure

    Checkmate customization

    In KF I think each If statement must have both a Then and Else part. Your loop does not have a Then and Else after If statement. Suresh www.technisites.com.au
  7. ufsure

    NX Journal - Reporting the Delta (Component) Distances between 2 Objects

    AskMinimumDist( Tag object1, Tag object2, int guess1_given, double[] guess1, int guess2_given, double[] guess2, out double min_dist, double[] pt_on_obj1, double[] pt_on_obj2 ) The last two arguments return the co-ordinates of point on each object. You can easily calculate the delta...
  8. ufsure

    'This callback allows the dialog to enable/disable the OK and Apply button.

    enableOKButton_cb gets called after every interaction with the dialog. You have the option to check if all the required inputs have been satisfied or not. You can return true to enable the OK button or false to disable it. Suresh www.technisites.com.au
  9. ufsure

    NX 11 Journal - 'Groups' of Associated Section Curves

    I suppose you could get the section planes and all section curves from the SectionCurveBuilder. Measure the distance between each curve and each plane. If the distance is zero(within modeling tolerance) the curves belong to that particular plane. Suresh www.technisites.com.au
  10. ufsure

    NX11 Journal - Orient WCS to Plane of 3 Points

    Using points you could create a direction and obtain its vector. But subtracting point co-ordinates is easier for your purpose. Direction CreateDirection(Point startPoint, Point endPoint, SmartObject.UpdateOption updateOption) Vector3d Direction.Vector Suresh www.technisites.com.au
  11. ufsure

    NX11 Journal - Orient WCS to Plane of 3 Points

    Subtract the co-ordinates of points. See below image. Suresh www.technisites.com.au
  12. ufsure

    NX11 Journal - Orient WCS to Plane of 3 Points

    You can initialize a matrix with two vectors. Use UF.UFMtx3.Initialize( double[] x_vec, double[] y_vec, [Out] double[] mtx ) Suresh www.technisites.com.au
  13. ufsure

    int UF_CLONE_ask_part_attrs ?

    Looks like there is no UF wrapper for this in VB. Use UFPart.AskPartTag(PartName) to get the part tag. Cast it to Part and use GetUserAttributes(). Suresh www.technisites.com.au
  14. ufsure

    The Doc say: &lt;OutAttribute&gt; [b]ByRef[/b] item_type As String How to declare this in vb

    Sorry, please contact GTAC for help. Suresh www.technisites.com.au
  15. ufsure

    The Doc say: &lt;OutAttribute&gt; [b]ByRef[/b] item_type As String How to declare this in vb

    Can you post the complete code and let me know what you are trying to clone? Suresh www.technisites.com.au

Part and Inventory Search