Hello everyone, I need your help:
Is it possible to automate (with a CATIA macro) the insertion of the "Add Leader", in an object (detail component), and associate it with a dimension? The objective is to link the instantiated 2d component with the reference dimension.
I have attached images of...
Hello everyone.
I'm writing for a little help: is there the possibility of automating the "View from 3D" generation process to put on a View created on a 3D model (Annotation view) on a drawing?
Actualy I use this code manualy, with StartCommand but I'dont put the view on a Sheet because I...
Hi Little C. thanks again.
For the string "content = settingsFile.ReadAll()", is it possible to have a msgbox with all content of the FrameGeneral.CATSettings? When I print msgbox content I obtain: M◻︎
I have correct the error, with the direct path of the FrameGeneral and in this way, macro is correct. I don't catch why then line doesn't work, with your script.
Hi,
thank you all.
Little C. your idea is very interesting but I don't have access at FrameGeneral settings, and so the macro dosen't work; but is a good input and I will try to read this settings.
Thanky you so much.
Hello everyone,
I want obtain info language setting of CATIA with a simple macro;
Can help me someone?
I know I can read the body name of the firt part and so deduct the language, but I want a msgbox that tell me which language is setting.
Thank you to all
Hi all, does anyone know how I can get the path to the active macro I'm running? I would like to have a msgbox with the path that macro points to, with a CATScript.
Thank you all
Hi,
try to insert the line "preSelectedItems.Clear" before the second search; and after insert a string that contain "selectElement3" to re-select the operations.
Bye
Hi everyone,
I need help to create a macro (CATScript) for realize SectionView in a DrawingSheet and define the "Plane.1" present in the 3d model as the plane of the section.
In this way when the plane moves, with an update of the sheet I have the update of the view.
Attached the image with the...
Hi all,
I am trying to write a macro with CATScript language that will read and print dimensional values associated with baloons;
attached is the starting situation and I want to get a msgbox that says: Baloon1 Value 50; Baloon2 Value 100; Baloon3 Value Ø25.69
I try to wirte this, but doesn't...