nice_guy
Mechanical
- Nov 27, 2019
- 3
Hi everyone,
I have some reference point which are defined in my model.
Now I want to produce a set which contains some of those reference point in it and I want to automate this procedure by looping it.
When I look at the recording of the python commands used to do build that set it looks like this:
a = mdb.models['Model-1'].rootAssembly
r1 = a.referencePoints
refPoints1=(r1[5], r1[7], r1[9], r1[10], )
a.Set(referencePoints=refPoints1, name='mySet')
I have some simple logic rules on which point I want in that set, can anyone advice on how can I loop this picking action?
Thanks,
Itay
I have some reference point which are defined in my model.
Now I want to produce a set which contains some of those reference point in it and I want to automate this procedure by looping it.
When I look at the recording of the python commands used to do build that set it looks like this:
a = mdb.models['Model-1'].rootAssembly
r1 = a.referencePoints
refPoints1=(r1[5], r1[7], r1[9], r1[10], )
a.Set(referencePoints=refPoints1, name='mySet')
I have some simple logic rules on which point I want in that set, can anyone advice on how can I loop this picking action?
Thanks,
Itay