Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS 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. Wifirex

    Macro to add leader with text to selected CATPart/Product points in to a drawing view

    I have found a bit of code from the Catia portable script center (Note insertion V2) that I am trying to use but it keeps throwing an error. ReDim objSelFilterType1(0) objSelFilterType1(0) = "AnyObject" sStatus1 = Selection1.IndicateOrSelectElement2D("Select Leader Head Point"...
  2. Wifirex

    Macro to add leader with text to selected CATPart/Product points in to a drawing view

    Bad news sorry. The code I've been given to strip and rebuild is company property. I will only be able to share what I manage to cover by myself, but if I run into any problems I will post them here. Thank you to those who showed interest in this topic!
  3. Wifirex

    Macro to add leader with text to selected CATPart/Product points in to a drawing view

    I've changed to a new script for the basis for this tool. I will ask the team tomorrow if I can share it here or if it is protected under our company asset laws.
  4. Wifirex

    Macro to add leader with text to selected CATPart/Product points in to a drawing view

    Update: I'm currently modifying this script to see if I can call on the generated points and draw a line to them (originally designed to draw a line to traverse the center point of holes and place a point in their centers). If anyone wants to have a crack at it also - here it is: Sub...
  5. Wifirex

    Macro to add leader with text to selected CATPart/Product points in to a drawing view

    And here's the drawinghttps://files.engineering.com/getfile.aspx?folder=aaa38d28-941a-4799-b1ec-a9e6392c0903&file=BASIC_POLYLINE.CATDrawing
  6. Wifirex

    Macro to add leader with text to selected CATPart/Product points in to a drawing view

    Hello Ferdo! I have seen several of your posts and I am pleased to see you posting on this topic [thumbsup2] I just read this morning that generated items are not exposed to the VBA API and will be hard to attach features to them (e.g a leader with text). This is why I was suggesting an...
  7. Wifirex

    Macro to add leader with text to selected CATPart/Product points in to a drawing view

    Picture 1: a Polyline drawn in 3D with 3D points. Picture 2: Leader with Text added to each point along the chain (Chain priority 1, X-Axis priority 2 and Y-Axis priority 3).
  8. Wifirex

    Macro to add leader with text to selected CATPart/Product points in to a drawing view

    Now, what I'm trying to find a solution for is a macro that can recognise the points in a Polyline in 3D ideally in an active drawing view, or in the 3D part tree (worst case), and either adding a Text with Leader directly to each of them if it's possible, or by generating a new set in 2D points...
  9. Wifirex

    Macro to add leader with text to selected CATPart/Product points in to a drawing view

    Ref: thread560-349581 Here is the working version of what the previous thread managed to achieve. Still a long shot from what I am looking for but someone may find it useful. ' ============================================================== ' Purpose: Code to create a text file in Folder (MUST...

Part and Inventory Search