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. AlexMorasan

    CATIA V5: Store file location/ values inside VBA macro

    Hello everyone Is there a way to store information inside a macro in VBA? Last year I made a macro that stores all the viewpoints that we used to create an assembly manual for our client, I save this information in an Excel file. However, the location of this file is written inside the VBA...
  2. AlexMorasan

    Macro to make picture capture and setting lighting effects

    Hello everyone Recently I made a macro that stores all the viewpoints from the assembly manual we deliver to our main customer. My new objective was to make a macro that was able to also make the screenshot from CATIA window to ensure that all pictures are exactly the same size in every new...
  3. AlexMorasan

    Activate SelectElement2 immediately after userform

    Thanks both of you for your help In the end I use the Activate event to do my macro. However after my test phase the users vote to change interface. Little Cthulhu, thank you so much for all your feedback and the pseudo code. Being honest I am still trying to figure out how to properly use it...
  4. AlexMorasan

    Activate SelectElement2 immediately after userform

    Hello everyonge I am creating a macro that creates a Plane (Angle/Normal to Plane) and a Line (Angle/Normal to Curve) after the user selects a point and a curve. To inform the user about what he/she needs to select my code shows a MsgBox with the proper instructions. Examplo, the user runs the...
  5. AlexMorasan

    Macro to create a viewpoint

    Hello Sardeshmukh Here is the part of the code, I hope it will be useful for you. The macro that I made uses an userinterface, in this UI the user have to write the viewpoint that he needs (this viewpoints are related to the pictures of the assembly handbook). The coordinates of that viewpoints...
  6. AlexMorasan

    Macro to create a viewpoint

    Hi Sardeshmukh My apologies for answering until now, but I was on vacation and I didn't see my mail until now. Of course I can provide you with the code, just tell me which part you are interested in ? the part to acquire the viewpoints or the part to change the viewpoint? I am sorry if I can't...
  7. AlexMorasan

    Macro to paint product with specific colors

    Hello everyone As MarkAE said what I need to do was change the Inheritance value and with that I was able to correct my code. Thank you both of you for your answers and for taking the time to help less experienced users. Alex
  8. AlexMorasan

    Macro to paint product with specific colors

    Hello everyone I have created a macro that paint our assembly in an specific way ( see image attached) The structure of the assembly is usually composed of four subassemblies (let say their names are A to D), product A is painted in red, B with blue and C with yellow. However in product D we...
  9. AlexMorasan

    Get Geometrical Set where Point is stored (Macro)

    Hello everyone I have made a macro with the purpose of creating some lines and planes to use as tangency elements in my designs. The user selects the part where the geometry will be created , then selects a point as reference to start creating all the other elements. This elements will be...
  10. AlexMorasan

    Macro to create a viewpoint

    Thank you for the star. The main idea of this macro was to create a matrix of viewpoints in excel to make it easier to update the assembly handbook that we deliver to our client. So, if anybody is in need of something similar I will be happy to share my code with you. Please let me know if you...
  11. AlexMorasan

    Macro to create a viewpoint

    Hello everyone My apologies for taking so long to answer but because of COViD-19 we weren't allowed to go to the office and so I was unable to work on this macro. Nevertheless I am finally back and I have manage to correct my macro. Unfortunately I don't know the reason but every time I run...
  12. AlexMorasan

    Macro to create a viewpoint

    Hello Little Cthulhu Thank you for taking the time to answer my post. Yes I have tried in another assemblies but I still get a different version from my objective viewpoint. Right now I am using CATIA Version 5-6 Release 2018 Service Pack 3
  13. AlexMorasan

    Macro to create a viewpoint

    Hello everyone I have to create a macro that will allow the user to create an specific viewpoint of the main assembly so the user can take an screenshot ( the screenshot is use to update our assembly handbook). I have analyzed the DMUInfEngineeringView file and with that I have created my own...

Part and Inventory Search