chourouk
Mechanical
- Sep 15, 2016
- 41
Hello
How can I define a region through edges such as edge[0],edge[3],edge[4].....
On the other hand the number of these edges is variable according to the case
for example i make this :
region = p.SetFromElementLabels(elementLabels=edges11, name='Wire_cubic_cell1')
p = mdb.models['Model-1'].parts['Part-1']
p.SectionAssignment(region=region, sectionName='cylindrical_section1', offset=0.0,
offsetType=MIDDLE_SURFACE, offsetField='',
thicknessAssignment=FROM_SECTION)
such as edges11 contain the index of edges,edges11=(0,3,4,7,8,....)
but in the affection of section i have error "region, found none,expecting region
thanks
How can I define a region through edges such as edge[0],edge[3],edge[4].....
On the other hand the number of these edges is variable according to the case
for example i make this :
region = p.SetFromElementLabels(elementLabels=edges11, name='Wire_cubic_cell1')
p = mdb.models['Model-1'].parts['Part-1']
p.SectionAssignment(region=region, sectionName='cylindrical_section1', offset=0.0,
offsetType=MIDDLE_SURFACE, offsetField='',
thicknessAssignment=FROM_SECTION)
such as edges11 contain the index of edges,edges11=(0,3,4,7,8,....)
but in the affection of section i have error "region, found none,expecting region
thanks