Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Search results for query: *

  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
  16. ufsure

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

    The doc says if the item type is null ("Empty String") default behavior will be applied. Suresh www.technisites.com.au
  17. ufsure

    NX 1847, Can't delete attribute &amp; roll back to &quot;No Value&quot; status

    Yes, it works with bulk editor on NX1847 too. Suresh www.technisites.com.au
  18. ufsure

    workPart.CoordinateSystems.CreateCoordinateSystem() and ufs.Obj.DeleteObject()

    You cannot delete the CSYS because the Text depends on it. You can make it invisible. Below is the updated code. Imports System Imports NXOpen Imports NXOpen.UF Imports NXOpen.Utilities Imports MiniSnap Module Text_on_face Dim theSession As NXOpen.Session =...
  19. ufsure

    workPart.CoordinateSystems.CreateCoordinateSystem() and ufs.Obj.DeleteObject()

    It is getting deleted. But the display is not being updated. Add workPart.Views.WorkView.Regenerate() at the end. Also, I see that you are deleting cartesianCoordinateSystem1 in two places. Suresh www.technisites.com.au
  20. ufsure

    Translator

    Are you able to use the internal translator through File->Open dialog? Suresh www.technisites.com.au

Part and Inventory Search

Back
Top