Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK 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. CAD_ROB

    Generating an OK shortcut in Catia V5

    Hi, I can generate shortcuts for any all commands but one of them isn't an Okay. im after generating a quick way of selecting ok on a powercopy window without having to select the ok button with the mouse everytime. Does anyone know how to do this?
  2. CAD_ROB

    Macro to look inside a geometrical set and generate a mid point on all the curves.

    Thanks Kantoku and LWolf works a treat. [bigsmile]
  3. CAD_ROB

    Macro to look inside a geometrical set and generate a mid point on all the curves.

    Hi Kantoku, It works great recognising the lines and generating the midpoints but doesn't seem to recognise curves or circle geometry and thus doesn't create a mid point on those. Ive tried debugging the code and it errors at " For Each crv In targetCurves" is this a catscript unable to read...
  4. CAD_ROB

    Macro to look inside a geometrical set and generate a mid point on all the curves.

    Hi Kantoku, Thanks for your reply. When running the sample it runs through the mesg box, I select the geoset with the lines/circles in it and nothing happens. The msg box appears then wanting you to select done. Is this because it doesnt recognise the lines/circles as curves? This is when...
  5. CAD_ROB

    Macro to look inside a geometrical set and generate a mid point on all the curves.

    Hi any help would be great, im trying to generate a mid point on lots of curves/lines in a geometrical set. I want my macro to search inside the geometrical set named "Geom" and loop through generating a mid point on all the curves and lines in that set. here's my first attempt and it keeps...
  6. CAD_ROB

    Catia V5 Macro to Generate a new .catpart in a product with published data from another

    There's one final addition im trying to maybe add to the above script and that is for every newly created Part, I want to split the partbody with an external reference surface that is held in my data model catpart(surface is published). Ive read a few articles saying that I would need to...
  7. CAD_ROB

    Catia V5 Macro to Generate a new .catpart in a product with published data from another

    Thanks Wegan22. I had to modify some sections of your code to make it work for me and adjust the numbering but I've got it to do what I needed. Sub CATMain() 'Check to make sure the user is on the assembly workbench If CATIA.GetWorkbenchId <> "Assembly" Then MsgBox "Only works...
  8. CAD_ROB

    Catia V5 Macro to Generate a new .catpart in a product with published data from another

    Thanks for your reply Mark, I will take the advice on board and try it out.
  9. CAD_ROB

    Catia V5 Macro to Generate a new .catpart in a product with published data from another

    I'm a young engineer trying to make his way in this world, im sure that you've been there. im trying to learn the best I can with this stuff and came to this forum to try and get the support from experts that can make me learn a lot faster than it says in a code book. I always find the best way...
  10. CAD_ROB

    Catia V5 Macro to Generate a new .catpart in a product with published data from another

    Hi, Im still having trouble with the macro falling over because of my catparts having the same Item number, is there a way to identify the Instances of the item number and add it to the item number so that it can see them as seperate catparts when running the macro?
  11. CAD_ROB

    Catia V5 Macro to Generate a new .catpart in a product with published data from another

    It works beautifully. The final problem I have is that within the first product ive got multiple instances of the same part. Therefore when it tries to create 50.1 to 150 it works but then 50.2 to 151 it falls over because it sees there's already a 150 been created. As you been amazing so far...
  12. CAD_ROB

    Catia V5 Macro to Generate a new .catpart in a product with published data from another

    Amazing! Thanks for the response weagan22 much appreciated. Ive tried to run the macro and it creates the first catpart in the 2nd product and publishes the partbody as i want, but then it seems to get stuck from there, like it doesn't know how to add the next number. Is the intended coding to...
  13. CAD_ROB

    Catia V5 Macro to Generate a new .catpart in a product with published data from another

    Hi, Im after some advice whether its possible to create a macro in Catia V5 to take a product with a number of .catparts, those catparts have a partbody that are published. I want the macro to be able to generate a new catpart in a different product and within that new .catpart have the...

Part and Inventory Search