Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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. longhduong

    CATIA drafting attribute link macro

    Hi All, Platform/Environment: CATIA V5R21, Drafting workbench Topic: VB script/macro to create leader with attribute link to 3D model attribute My experience with macro/ scripts: Beginner level Background: In the drafting workbench, CATIA offers the ability to create a text leader with link to...
  2. longhduong

    CATIA V5 script - creating mulitple holes on complex surface

    This is great I was able to break down your knowledge pattern, ARM, and UDF to determine my mistakes. I am listing the problems I discovered. Hopefully this will help others trying to learn Knowledge pattern avoid the same pitfalls. 1) One thing I did not realize when creating the UDF you...
  3. longhduong

    CATIA V5 script - creating mulitple holes on complex surface

    No problem, we are all busy. Thanks for your help! Can you upload a picture of your UDF's spec tree and also the Userfeature Definition box? I am curious how you constructed the UDF. Was the UDF constructed on a flat surface? Did you generate a TYPE or rename your inputs in the definition box...
  4. longhduong

    CATIA V5 script - creating mulitple holes on complex surface

    I found my syntax mistake. I was using an apostrophe (') instead of the accent symbol (`). The knowledge pattern editor is now accepting the code. However when I execute the pattern I get the following 2 errors: 1) No resource with logical name PlaneTangent has been found in the catalog...
  5. longhduong

    CATIA V5 script - creating mulitple holes on complex surface

    I read on another forum that sometimes the code loses its link if it is copied and pasted into the editor. So I manually typed each line of code into the editor and that solved the syntax error on line 4 (see above 5.JPG). I am now getting a Syntax error on line 12. See attached 6.JPG...
  6. longhduong

    CATIA V5 script - creating mulitple holes on complex surface

    5.JPGhttp://files.engineering.com/getfile.aspx?folder=f8301e2d-373e-4a83-b5c2-0e67f99a03e9&file=5.JPG
  7. longhduong

    CATIA V5 script - creating mulitple holes on complex surface

    4.JPGhttp://files.engineering.com/getfile.aspx?folder=cb310fc6-6a0a-4804-bbb5-0218b32fe888&file=4.JPG
  8. longhduong

    CATIA V5 script - creating mulitple holes on complex surface

    3.JPGhttp://files.engineering.com/getfile.aspx?folder=ab70b1e7-6a41-4e86-91ed-2b6059f70669&file=3.JPG
  9. longhduong

    CATIA V5 script - creating mulitple holes on complex surface

    I am using R20, I now have the knowledge type path under options/paramters/knowledge to where I have my type saved, and I also have created the UDF from an new part and body. To clarify why I think 2 UDF's are required; I am given a solid with complex surface and geometric set of points that...
  10. longhduong

    CATIA V5 script - creating mulitple holes on complex surface

    To simplify the process. I am trying to knowledge pattern 1 UDF at a time. Here is what I have so far for the (PlaneTangent) UDF which creates a plane tangent to surface at point: (copied and manipulated from a different post from you - Catia V5 - Points to Spheres) let i(integer) let...
  11. longhduong

    CATIA V5 script - creating mulitple holes on complex surface

    Ok so at this point I've figured out how to make the feature using 2 separate UDF. The first UDF (PlaneTangent) has 2 inputs (Surface, Point). The output is a PLANE tangent to that surface at the point The second UDF (HoleNormal) has 2 inputs (Plane, Point). The output is a HOLE normal to the...
  12. longhduong

    CATIA V5 script - creating mulitple holes on complex surface

    Azrael, I tried constructing the UDF from a HOLE element on a planer and non-planer surface but it does not accept the HOLE element from the non-planer surface. I keep getting the error message "ERROR IN DEFINITION"
  13. longhduong

    CATIA V5 script - creating mulitple holes on complex surface

    I am still researching/experimenting with Knowledge Pattern but am a little stuck and could use some help. I created a User Defined Feature (UDF), a HOLE that was created using 2 inputs, a FLAT surface and a point. Once saved into my catalog, I was able to instantiate more HOLE features using...
  14. longhduong

    CATIA V5 script - creating mulitple holes on complex surface

    I am not sure if I completely understand how to use knowledge pattern but it seems that you do need to write a script (ex. For Loop) within the knowledge pattern editor to create your pattern. My computer programming knowledge is very limited therefore I was asking if there was an existing...
  15. longhduong

    CATIA V5 script - creating mulitple holes on complex surface

    thread560-251808 Hi, I am a beginner with scripts and was wondering. If I have a complex (non planer) surface with multiple points defined within a geometric set, is there a way to instantiate multiple holes on that complex surface? Similar to user pattern but instead of choosing a sketch as...

Part and Inventory Search

Top