sclingan
Automotive
- Jun 6, 2010
- 3
Create a string parameter
The prefix or postfix
Create a rule
(Catia object)
A Catia object can be a
Part body
Geometric set
And anything in them just select from the Catia tree
(.Name) a hidden parameter
Name change rule
Catia object .Name = "new object name" + new parameter
Example
The object is (Sketch.1)
The parameter you create is "1"
'Sketch.1' .Name = "Sketch" + 'new parameter'
This will change the name from Sketh.1 to Skech.2 or 3 and so on
If you create a Body with geometric set inside
Add the parameter and the rule inside the geometric set
You will be able to copy past this body and change the prefix / postfix
The name of the body or anything included in the rule will change
The prefix or postfix
Create a rule
(Catia object)
A Catia object can be a
Part body
Geometric set
And anything in them just select from the Catia tree
(.Name) a hidden parameter
Name change rule
Catia object .Name = "new object name" + new parameter
Example
The object is (Sketch.1)
The parameter you create is "1"
'Sketch.1' .Name = "Sketch" + 'new parameter'
This will change the name from Sketh.1 to Skech.2 or 3 and so on
If you create a Body with geometric set inside
Add the parameter and the rule inside the geometric set
You will be able to copy past this body and change the prefix / postfix
The name of the body or anything included in the rule will change