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.
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?
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...
@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 =...
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 =...
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...
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 =...
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?
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...
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...
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...
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?
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".