Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Difficulty with rectpattern..

Status
Not open for further replies.

navyn

Mechanical
Dec 10, 2003
15
GB
hi all,I am having CATIA R12SP3,and I am trying for a script which can change color of rectpattern created from a threaded hole,I am succesfull in that but for 1 rectpattern at a time,I have introduced 'i' and tried to define all rectpatterns at once as

number = selection.count
For i = 1 to number
set rectpattern1 = shapes1.Item("RectPattern"&i)
Next
but it shows error with this line,please anyone help me in this regard,as it wud be a nice prg if I get it..
bye
Naveen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor