Hi,
In my case, I converted the ProE models into IGES or STEP (better) format then I can load either one of them into CATIA. Some color and material properties may be lost, but the structure, dimensions remain unchanged.
Once it has been loaded into CATIA, you can edit/modify to what you...
Hi,
I need to build a CATScript to execute a process in the background using the following simple code:
=============
Language = "VBSCRIPT"
Sub CATMain()
dim str1 as string
dim return_code as long
dim S as SystemService
Set S = CATIA.SystemService
str1 = "edit c:\temp\test1.txt"
msgbox str1...
Hi Eric,
Thanks a lot for your quick respond.
We just tried on V5R13, but it does not work either.
It appears that something is not done correctly from my end.
Do you have any suggestion for me to verify (that our systems/environments are compatible) from here?
Thanks.
Hi
I tried the following codes sent to me by itsmyjob (it worked for him on both V5R12SP4 and V5R13).
Somehow, I cannot change the Name.
First, it didn't work on V5R11SP5, I then tried it on V5R12SP6,and it still didn't work for me.
It always fails at: Solid1.Name="GiveNewNameHere"
with the...
Hi,
I have a CATIA drawing with some solid bodies in the middle of screen and on the left there is a specification (reference to all the solid bodies)
1) When I use the mouse to select the 1st body from the specification, then click on the "+", it will show "solid.1"
2) use the mouse to select...
Hi,
I try to save the .CATPart file into IGES format using the following instructions, but it does not work:
Dim my_part = CATIA.Activedocument.Part
Dim new_file as string
new_file = "cat_2_igs"
my_part.ExportData(new_file, "igs")
The error message was saying that: Cannot...
Hi,
I like to write a VBScript that will retrieve the color or material data of a part that I current load into Catia.
I have tried this:
Dim my_data as AnyObject
set my_data = CATIA.Activedocument.RenderingMaterial
but it gave me an error message saying that: Object does not support this...