Guest
Hi ,
I wanted to change the name of an INSTANCE and i did it by the
following way:
1)First i have to select the instance in the layout that i have to
rename
2)Copy the following code and paste in the CIW
leHiEditProp()
geiPlSetPropValue("editorNum0" "attribute" "Name" "string" "new_name")
geiPlInvokePlistAction("editorNum0" "done")
where "new_name" is my new INSTANCE name.
Athough it seems to work fine, i want to do this quite a large number
of times .hence i wrote the following procedure
procedure(change_ROD_name(new_name)
leHiEditProp()
geiPlSetPropValue("editorNum0" "attribute" "Name" "string" "new_name")
geiPlInvokePlistAction("editorNum0" "done")
);procedure
But when i try to pass a value for the "new_name" in the procedure
"change_ROD_name", it gives error.
*What is the Error in the code?
*Is this a good way of doing it?.
*I searched our group and found lot of similar post's but the codes
given there seems to be complex(atleast for a newbie like me)
Thanks and regards,
Lokesh rajendran
I wanted to change the name of an INSTANCE and i did it by the
following way:
1)First i have to select the instance in the layout that i have to
rename
2)Copy the following code and paste in the CIW
leHiEditProp()
geiPlSetPropValue("editorNum0" "attribute" "Name" "string" "new_name")
geiPlInvokePlistAction("editorNum0" "done")
where "new_name" is my new INSTANCE name.
Athough it seems to work fine, i want to do this quite a large number
of times .hence i wrote the following procedure
procedure(change_ROD_name(new_name)
leHiEditProp()
geiPlSetPropValue("editorNum0" "attribute" "Name" "string" "new_name")
geiPlInvokePlistAction("editorNum0" "done")
);procedure
But when i try to pass a value for the "new_name" in the procedure
"change_ROD_name", it gives error.
*What is the Error in the code?
*Is this a good way of doing it?.
*I searched our group and found lot of similar post's but the codes
given there seems to be complex(atleast for a newbie like me)
Thanks and regards,
Lokesh rajendran