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!

Search results for query: *

  • Users: Lea75
  • Content: Threads
  • Order by date
  1. Lea75

    Catia V5: Holes Automation

    Dear all, I have an idea and I'd like to know if you think it is posible to automate it. I want to set the paremeters of holes choosing them from a combobox, before creating the hole. The procedure of the automation should be like this. * Click (or double click) on a combo box and choose the...
  2. Lea75

    Macro for switch ImageViewMode between Exact View and Raster

    Dear all, I need your help to find a solution for this issue. I need to creat a macro that switches between 2 states of the active view mode in my Drawing: Exact View => Raster(with Shaging w/edges, and High Quality) => Exact view again Here's my current code. It changes the active view to...
  3. Lea75

    Create an Isometric View from the active catPart with VB6

    Hi all! and Happy New Year! Can someone help me with a short VB6 code that I need? The idea is simple: I need to create an isometric view in catdrawing of the current view of my catPart. It is like to take a photo of my solid in the same position as it is in a 2D drawing. I don't know how to...
  4. Lea75

    Change Body Name automatically

    Hello everyone. I need to change the PartBody name automatically according to specific parameter. For example, if a change a Diameter to 12mm, the PartBody should be renamed to "Bushing Ø12" Is it possible to do so without using macros? Maybe a rule? Any suggestion? Hope you can help me. Thank...
  5. Lea75

    How to change edge color of a Body?

    Hello everybody. I need to change the color of the edges of one body in CatPart. I was able to change the filling of it to black with: oVisproperties.SetRealColor 0, 0, 0, 0 But now I need to change the edges to white. I looked for it everyware but I had no luck. Is it possible? Thank you in...
  6. Lea75

    Automation for Holes creating in a assembly

    Hi guys, I need your help to solve this issue. I want to program a VB6 App to make holes automatically in a plate to fix the other components over it. Do you have any idea or example of a similar code? I attach an assembly file. You can see the 8 holes that I made one by one. Those should be...
  7. Lea75

    Drawing text with Attribute link in VB6

    Hi all, Is it possible to create a drawing text that includes an attribute link to a parameter of it's CATPart? Any example? Regards
  8. Lea75

    Hide a DrawingView

    Hello, how can I hide a Drawing view with VB6? For example, the Front View. Thank you in advance
  9. Lea75

    Linking Drawing Views to new CATPart

    Hi guys, could someone tell me if it is possible to automate and how it would be the code for linking the views of a drawing to a new CATPart? I have tried with this code but it does not work for me. I'm not sure if that property is read-only or I'm writing something wrong. For j = 3 To...
  10. Lea75

    Catia V5 and VB6.0: How can I know when a ReferenceProduct is active or inactive

    So, that's the question. I have several ReferenceProducts in the tree. Some of them ara deactivated and I'd like to know by Automation the status of each one. I use something similar for shapes: If oPart.IsInactive(oHole) = False Then... How can I do the same with Products? Hope somebody can...
  11. Lea75

    Get the origin coordinates of a sketch

    Could somebody help me to get the xyz coordinates of a sketch? I need it to distinguish if a pocket is made on one side or the opoosite of the part. Hope somebody know how. Regards
  12. Lea75

    Rules: Change of colour

    I'd like to create a rule that changes the colour of the main body of a part to yellow if a dimension is equal to 50mm Is it possible to do it with the rule editor? How? Or is there any other procedure? Please, let me know your experiences. Thank you in advance and regards.
  13. Lea75

    Document template linked to external references

    Hi all, I need to ask for your help! I've created a document template which can be inserted in a product using a plane and 2 points (isolated and Inputs of the template). My problem consist in when I modify the position of these external features, the template doesn't get updated and I have to...
  14. Lea75

    Holes coordinates in a plate

    I have a rectangular plate (Catpart) with different holes in diameter and type. I'd like to write a catscript that can extract the coordinates of all of them to a txt file sorted by Ø, x and y. Does anybody have any idea of how can I get this? Any example or advice? Thanks in advance
  15. Lea75

    Extract properties from a .product

    Hello: I'd like to know how it would be the script code for extract the properties of the parts inside the product to a .txt file. I could obtain the code for extracting parameters of single parts, but I need to get all of them in the hole product. Can anyone help me? I put above my code...

Part and Inventory Search