Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SDETERS 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 tpalsl125

  1. tpalsl125

    how can I get the coordinates with reference AxisSystem?

    Hi, Doug Thank you for your kindness. It was very simple to think to modify that.. I'm so sorry to bother you. I will try to solve a Problem once more on next time. I really thank you.
  2. tpalsl125

    how can I get the coordinates with reference AxisSystem?

    Hi, Doug Thank you for your answer. I have to select the Axis System which is contained in the Geo Set. So do you have any ideas to solve this problem?
  3. tpalsl125

    how can I get the coordinates with reference AxisSystem?

    Hello, guys. I'm trying to make a macro which can make coordiante points as much as what I want. So I recorded to make coordinate points with Axis System and I modified this code. And I got a problem in here. If I select the Axis which is in the "Axis Systems", then it works very well. On the...
  4. tpalsl125

    When using Macro, How to use Right-button and Center Graph

    @drewmumaw Thanks for your reply. I made another script. This is also doesn't work. Please, give me some tips for working. I have no idea... I use Catia V5 R24 version. set Selection1 = CATIA.ActiveDocument.Selection selection1.Search "Name=*Steckbolzen_ZG*, all" set Element =...
  5. tpalsl125

    After Inserting a Part in a Product, How To Get the Instance Name

    Hello,Lardman Thank you so much. Now I can work. :)
  6. tpalsl125

    After Inserting a Part in a Product, How To Get the Instance Name

    Hallo, Lardman. Thanks for your reply. I've jsut tried to do with your script. But unfortunatly, I'm very very beginner about macroes and it doesn't work. Could you check the below script?! Path(0) = "C:\Users\Desktop\Part1.CATPart" oPart =...
  7. tpalsl125

    After Inserting a Part in a Product, How To Get the Instance Name

    Hello, All I found the below script to insert a Part in a Product. Path(0) = "C:\Part1.CATPart" CATIA.ActiveDocument.Product.Products.AddComponentsFromFiles Path, "All" But I really don't know, how can I get the instance name of inserted Part1? For example, there is a part in a product...
  8. tpalsl125

    When using Macro, How to use Right-button and Center Graph

    Hello, Drewmumaw. Thanks for your reply. The "Start command" method is only way?! When I'm using a select method, I have to make an element with 'Cneter Graph'. I made the test macro. But it doesn't work.. Could you check this? Set Sel1 = CATIA.ActiveDocument.Selection Sel1.Clear Status0 =...
  9. tpalsl125

    When using Macro, How to use Right-button and Center Graph

    Hello, All. I'm making a macro to assembly parts with Axis to Axis. But I have some qustion. When I click macro and waiting a selection, I want to center graph and tried to click right-button of mouse. How can I click right-button mouse, when using macro?
  10. tpalsl125

    How can I get a File Name in Sketch?

    Hey, FERDO Your script solved my problem! You are my saviour!! You saved me!!! Now I can sleep deeply and work tomorrow with smile!!! ;)
  11. tpalsl125

    How can I get a File Name in Sketch?

    Thanks for your reply. I just tried to use below script. But I didn't get a result what I want. Because I have a Product that has included a Part. I have to know "01_101__Lower Insert Steel"'s file name, not a Catia name, when I'm in "Sketcher" Mode. MsgBox CATIA.ActiveDocument.Name MsgBox...
  12. tpalsl125

    How can I get a File Name in Sketch?

    Hello, Ferdo. Thanks for your script. Your script can find the path in Catia tree.. I meant I want to find a path of a File in 'Sketcher' mode.. ex) "C:\Users\Desktop\Part1.CATPart" Not "Product.1\Part.1\Geometrical Set.1\Sketch.1\Point.1" I know only to use 'FullName' method. But this...
  13. tpalsl125

    How can I get a File Name in Sketch?

    Hello, lardman. Thanks for your reply. I meant, when I am in "Sketcher" Mode and select an element(Point2D, Line2D, etc..), how can I get a File name? Not Catia name(Part Number) and Catia instance name. Here is my script which I found on Google and I modified a little bit. Of course, I know...
  14. tpalsl125

    How can I get a File Name in Sketch?

    Hello, all I'm trying to make some macro. But I didn't solve to get a file name in Sketch. ALSO I know how to get a Catia Name(Part Number), a Instance Name and an object name in Sketch. But I don't really have no idea to get a File name in Sketch. Can somebody help me or give me some tips?
  15. tpalsl125

    Reset Properties (Change Colors to Automatics)

    Ferdo, Thanks for your reply. I'm sorry, I didn't understand. Could you explain easier for me? And did you see my youtube link? That is what I made in the youtube the difference your script and "reset properties".

Part and Inventory Search