Enables you to assign an object a name that will be used in the script.
Syntax
publish "!xxx" as yyy ;
Where:
xxx is the name of the object to be published. To select this object,
it is highly recommended to use the contextual menu.
yyy is the name you want to assign to this object
Example 1
Product_Root isa CATProduct
{
Product_Assemblage isa Product
{
Part_For_Publish isa Product
{
Boite isa Part
{
PartBody isa BodyFeature
{
My_Boite isa Pad {}
}
}
publish "!Selection_RSur:(Face:(Brp:(My_Boite;0:(Brp:(Sketch.1;2)));None:());My_Boite)"
as Surf_Normal_To_X_axes;
}
}
}