MrzKamali
Geotechnical
- Sep 7, 2017
- 4
For the ABAQUS Experts out there,
I have written a python script that generate some edges and faces and assembled them as independed instances. I want to find a instance by findAt(x,y,z). So I used below code as abaqus documentation to create an EdgeArray to be able to search between them:
EDGES=mdb.models['Model-1'].rootAssembly.allinstances.edges
but got an error as this:
AttributeError: 'Assembly' object has no attribute 'allinstances'
I tried allinstances by capital I (allInstances) as below:
EDGES=mdb.models['Model-1'].rootAssembly.allInstances.edges
and the error was:
AttributeError: 'Repository' object has no attribute 'edges'
in another try I used:
EDGES=mdb.models['Model-1'].rootAssembly.edges
however there is no error in this situation, but the array of EDGE is empty; is there any suggestion????
I have written a python script that generate some edges and faces and assembled them as independed instances. I want to find a instance by findAt(x,y,z). So I used below code as abaqus documentation to create an EdgeArray to be able to search between them:
EDGES=mdb.models['Model-1'].rootAssembly.allinstances.edges
but got an error as this:
AttributeError: 'Assembly' object has no attribute 'allinstances'
I tried allinstances by capital I (allInstances) as below:
EDGES=mdb.models['Model-1'].rootAssembly.allInstances.edges
and the error was:
AttributeError: 'Repository' object has no attribute 'edges'
in another try I used:
EDGES=mdb.models['Model-1'].rootAssembly.edges
however there is no error in this situation, but the array of EDGE is empty; is there any suggestion????