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 man2007

  1. man2007

    Catia VBA - Get Leader Stub Point

    Hi itsmyjob, The function GetPoint gives Leader Endpoint and Breakpoints, it won't give the stub end point. myleader.NbPoint gives count as 1 unless we have any Breakpoints. Or is there any way to get the stub length, so that stub end point can be calculated using Text Anchor point/Position?
  2. man2007

    Catia VBA - Get Leader Stub Point

    Hi itsmyjob, I have tried available methods in the chm file: Following are the ones listed, but still the "Point" that I want to access is not available. Or even the "stub length" also is not available. AllAround Returns or sets the status of all around. AnchorPoint Returns or sets anchor...
  3. man2007

    Catia VBA - Get Leader Stub Point

    Is there any way to get the point coordinates of Leader stub. Please check the attached image. I have marked a point at the end of leader stub. Link I have tried to use Leader1.NbPoint but that gives me the count as 1 i.e. the Leader End Point (End Point of arrow)
  4. man2007

    Catia VBA: Select objects by "Intersecting Rectangle Selection Trap"

    Dear Ferdo, the solution is fine if I need to give user the choice of selection. But here I want to feed the diagonal points of rectangular selection thru code. Let me explain what I am trying for. I have coordinates of a point and I want to select the point with smallest possible rectangular...
  5. man2007

    Catia VBA: Select objects by "Intersecting Rectangle Selection Trap"

    Is there a function in CATIA VBA to select objects by using "Intersecting Rectangle Selection Trap" method?
  6. man2007

    Macro measure between Product and Point

    The method that you have explained was already thought but we get 2 intersection points or more that will increase the checking time. Instead I was looking for the option of measuring Point and Product programmatically, the command is available in Catia, that gives me one distance per product...
  7. man2007

    Macro measure between Product and Point

    Thanks itsmyjob. Actually I was looking for TheSPAWorkBench.GetMeasurable(Product1), is it possible? I can get distance between points, edge etc. Can I use Product in the same fashion? Here is what I was trying, there are three (or more) Products or Components in an assembly. A line passes thru...
  8. man2007

    Macro measure between Product and Point

    Can someone help me which function I need to use for Measuring distance between Product and Point.
  9. man2007

    Line Up Dimensions

    We are updating drawing views with similar parts, where we end up in getting lot of pink dimensions. Re-routing will not work for some dimensions, and we need to create new ones. To avoid writing ECN and also to ease the comparison of old and new drawings, we exactly overlap the dimension...
  10. man2007

    GetBoundaryBox

    Thank you very much itsmyjob. I was looking for a macro for the following thread and finally able to get it http://www.eng-tips.com/viewthread.cfm?qid=391940
  11. man2007

    GetBoundaryBox

    Can someone let me know how to use GetBoundaryBox function of Drawing Dimension in Catia VBA?
  12. man2007

    Line Up Dimensions

    I have two dimensions in drafting, and want to Line up one of them to other, I used Line-Up option, but it only aligned the dimension line and not the dimension value. I want to overlap both dimensions exactly to the Dimension value position. I tried to create a macro, but I am not able to get x...
  13. man2007

    Change color of tangent continuous faces

    Thanks for the tip DBezaire, and a star for you! I was looking for such option. Unfortunately we don't have the Core and Cavity license with us.
  14. man2007

    Change color of tangent continuous faces

    Is it not possible to select, without creating new features? The thread I have mentioned in the first post suggests a similar solution.
  15. man2007

    Change color of tangent continuous faces

    I tried the above mentioned code but it tries to select the Extract feature, instead of parent Faces

Part and Inventory Search