Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Daniel Popa

    Cycle through parts, screenshot and export to file

    Hello I am trying to create a macro that would cycle through all the parts in a folder, open them one by one, reframe and go to ISO view, take a screenshot and save it in a ppt. I have found smaller macros that are doing parts of this and managed to botch what I need. it works fine with the...
  2. Daniel Popa

    NC Programming

    Does anyone have experience with CATIA machining module? I have to make a back boring program using the Steiner Autofacer for front and back spotface. But the tool is "started" with a reverse motion that I don not think can be controlled from the process window. Did anyone use this before or...
  3. Daniel Popa

    Fast Catia Save file.....

    You can unlock those options by loading Catia in Admin mode. Your administrator should do that for you. In case he doesn't you have here a link on how to do it yourself: How to Run Catia V5 in Admin Mode
  4. Daniel Popa

    Problem loading VBA project in CATIA

    I did try that as well drewmumaw. I am 100% sure it is installed as I can use it without any problems.
  5. Daniel Popa

    Problem loading VBA project in CATIA

    Thank you ferdo. I did try to google the issue but I did not find a solution.
  6. Daniel Popa

    Problem loading VBA project in CATIA

    Good evening everyone I had to reset my user on my computer due to some issues (not related to the following question). After doing so I have found myself having to bring back all the setting I had in my Catia environment. For some reason, every time I try to load a specific VBA Project into...
  7. Daniel Popa

    Creating NC Setup Sheet Macro

    Hello I am trying to modify the MachiningDocument.CATScript and ToolList.CATScript to suit our company`s needs but since I know their language at a basic level I feel like these two are written in a more complex way and I am having a difficult time understanding and modifying it. Does anyone...
  8. Daniel Popa

    Saving File in multiple folders using MACRO

    Hello ferdo I wrote it in Catvba as I am planning to use it with Office as well. The interface for picking the path would not be required as they are standard (one is a fixed pathway from start to finish and the other will only be different until inside the project folder.) I am not sure about...
  9. Daniel Popa

    Macro for hiding Axis and/or planes

    This is for hiding the planes. Set productDocument1 = CATIA.ActiveDocument Set product1 = productDocument1.Product Set productDocument1 = CATIA.ActiveDocument Set selection1 = productDocument1.Selection selection1.Search "CatPrtSearch.Plane,All" Set visPropertySet1 =...
  10. Daniel Popa

    Saving File in multiple folders using MACRO

    Good morning I am working on a macro that would save my files in two different folders. I know it sounds easy except: -Folder 1 in the same all the time so this will be easy -Folder 2 is part of a folder structure we use for each project. Example of folder structure: \\User -Project X...
  11. Daniel Popa

    Fixing-together BOM chart and isometric view?

    Copy/cut-Paste could break the links of the BOM with the model but since you do not have the it anymore and the drawing is "dead" then there will be no problem in doing this. Unfortunately you can not set a positional link between a table and a view. Good luck.
  12. Daniel Popa

    Selection of tangent surfaces using a macro

    TiagoFigueiredo that is just a part of the code, relevant to my question. itsmyjob Unfortunately I do not have it but I have noticed there is something similar in the machining module. I might be able to use something from there. Thank you
  13. Daniel Popa

    Selection of tangent surfaces using a macro

    Hello In one of our processes we are required to color several surfaces differently than the rest of the component (i.e. component is blue with important surfaces yellow). I have managed to write a macro that would color a surface just by clicking on it and I was wondering if there is a way of...
  14. Daniel Popa

    How to hide planes

    Language="VBSCRIPT" Sub CATMain() Set productDocument1 = CATIA.ActiveDocument Set product1 = productDocument1.Product Set productDocument1 = CATIA.ActiveDocument Set selection1 = productDocument1.Selection selection1.Search "CatPrtSearch.Plane,All" Set visPropertySet1 =...
  15. Daniel Popa

    Catia VBA Macro Toolbar

    Apologies for my late reply. @ferdo I tried googling it but, as your example proves, you have to know what to search for :D. I found a couple of useful answers there now. @jenial I will try your idea as well soon and let you know how it worked out. Your toolbar looks much better, I have...
  16. Daniel Popa

    Catia VBA Macro Toolbar

    Hello everyone. I am working on a VBA macro toolbar that would have tabs and buttons for various macros. My only problem is that I feel like I am missing something. Currently, at the end of each macro, I have "Unload Me" to let the macro run and close the toolbar window. Without this command...
  17. Daniel Popa

    Catia MACRO: Show/Hide Mechanical Features in Body

    Sorry for my late reply. Thank you. It was not working on some of the projects and i have found the problem. It was just the way the parts were hidden.
  18. Daniel Popa

    Catia MACRO: Show/Hide Mechanical Features in Body

    Hello everyone I am trying to create a macro that would show/hide all the features inside a Body. I have managed to get to a point where it is working nicely but I can not figure out how to make it check all the bodies and not just the ones with the name "Part Body". Does anyone have any...
  19. Daniel Popa

    Catia V5 Drawing Sheet Counting

    Hello I was using a macro to count the sheets of a drawing and label them properly but I had 4 of them, one for each drawing size. I want to use VBA and create a user form from which you can select the drawing size and it would automatically run the correct script. However, since i moved the...
Back
Top