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. 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".
  16. tpalsl125

    Reset Properties (Change Colors to Automatics)

    Hello, Ferdo Thanks for your reply. I'm sorry but I've known your script. Also that is what I already found and tried. I think this script is good solution. But there is only one problem in your script. That is if I directly select a face and change color then execute your script, only that...
  17. tpalsl125

    Reset Properties (Change Colors to Automatics)

    Okay, I understand your mind. I'll find it on the internet. But before doing, could you tell me just one thing?! Anyway is it possible in only using vbscript?
  18. tpalsl125

    Reset Properties (Change Colors to Automatics)

    Thank you for your reply. I found this one to do 'disassemble' function with sendkeys. That is very simple script, but it didn't work. I think after executing the startcommand then the catia doesn't recognize "Disassemble" window in the 'AppActivate' method. Could you explain to me why it...
  19. tpalsl125

    Reset Properties (Change Colors to Automatics)

    Hi, All I made the script to make elements reset properties. But I have to click 'OK' button after executing the function. Here are my youtube link and the script. Can anybody advice about this without click 'OK' button? Youtube Set ActiveDoc = CATIA.ActiveDocument Set ActDocSel =...
  20. tpalsl125

    how to export the catia data to 3dxml with AXIS

    Thanks for your reply. Yes, I've already tried to convert with "XML Tesselation" option. But it didn't work. Also if I convert with "XML Tesselation" option, I can't select a piece of surface. This means I can't measure the face to face. Do you konw why it doesn't work?! Please, help me!!

Part and Inventory Search