A publication is like a stake in the ground.
It gives you the ability to redefine the object it is pointed at. As does copy with link
However it orders the data in a manner that makes it easy to manage and select by some sensible name.
Regards
Nev
Kapmc,
Can you add a screen shot to explain how the repeated line and surface relate to the point from an orientation standpoint?
I assume that the initial line references a similar point to be able to construct it.
Regards
Nev
To get a reference
Set reference2 = Selection.Item(1).Reference
or
Set refernce2 = oPart.CreateReferenceFromObject(Point1)
where oPart is the Part object
provide you do not clear the selection object first.
The first is easier but the second is preferable to avoid errors.
Regards
Nev
KingMao,
IndicateOrSelectElement3D and SelectElement2 have different functionality.
With Indicate..... you can specify a position in space in a 3d document window.
For example you could indicate that you want to select the vertex of a corner and then have CATIA build some geometry based on...
Movia,
I just tried it in Proe.
I created a new coord system in Proe
so that it was the same as in CATIA and it worked fine.
Exported based on these coord sys.
Regards
Nev
Movia,
In Proe you can define a different coord sys to use when exporting.
Therefore create one that matches CATIA and export it based on this.
Look out for the option box in the lower right corner when exporting from Proe.
Regards
Nev
xgibbousx,
Then I assume you are used the following code
CATIA.StartCommand("Assemble")
This is the only way that send keys would be needed.
I would use the follow method to complete avoid the use of sendkeys
AddNewAssemble( CATIABody iBodyToAssemble) As CATIAAssemble
Regards
Nev
Which assemble command?
Part Design>Boolean operations> Assemble?
If so you can code this without send keys
Otherwise
Could you not analyse the CNEXT procees to determine its load?
Regards
Nev
Hi,
If someone has a copy of the presentation could they mail it to me at johnson_nev@hotmail.com.
Seems like RAND only send the download link if they have a sales office in your country,
Thxs
Nev
Rob,
The UUID cannot be modified.
It is however possible to relink via coding(CAA and or VBA).
We have done it successfully this way using our inhouse
programmers
Regards
Neville
Its to do with UUID numbers being different.
Your drawing remebers the UUID of the original part
used to create it.
It now wants a part with the same UUID number
or else it will refuse relinking
Regards
Nev
Dave,
You obviously ran it as a VBScript.
Here is the VBScript specific version.
As for learning catia vbs I would point you to COE forum
www.coe.org
'==========================================================================
' COPYRIGHT NPL 2001
'
' VBScript Source File -- Created with...