delete datum points on Abaqus with python script
delete datum points on Abaqus with python script
(OP)
Hi,
I have a list of n points a=[[1,2,3],[2,3,4],....] i need to delete this points on Abaqus with python script.
and i have another list of n points b where i want to applicat displacement on this points!
Can you help me please!!!
I have a list of n points a=[[1,2,3],[2,3,4],....] i need to delete this points on Abaqus with python script.
and i have another list of n points b where i want to applicat displacement on this points!
Can you help me please!!!





RE: delete datum points on Abaqus with python script
Points for BC have to be reference points, not datum points. Creating them and applying a BC is also not hard. Just work yourself into scripting.
RE: delete datum points on Abaqus with python script
but for the deleting points i use this script but i'don't have result:
deletednoeud=[]
for m in range (len(noeud)):
if noeud[m][2]<zmin+1:
deletednoeud=deletednoeud+[noeud[m]]
delnoeud=p.DatumPointByCoordinate(coords=(deletednoeud[0])).id
for m in range (1,len(deletednoeud)):
delnoeud=delnoeud+p.DatumPointByCoordinate(coords=(deletednoeud[m])).id
p.deleteFeatures(('delnoeud',))
RE: delete datum points on Abaqus with python script
The script deletes all datum points with coord z>5 in the part. That should give you an idea how it can be done.
RE: delete datum points on Abaqus with python script
RE: delete datum points on Abaqus with python script
RE: delete datum points on Abaqus with python script
That was not my intent. It was an example how to work on datum points on part level. Learn from the script and then create one that works for your model.
Use the python interpreter in /CAE to test things. print commands are useful and the TAB key to see further otions.
RE: delete datum points on Abaqus with python script
RE: delete datum points on Abaqus with python script
RE: delete datum points on Abaqus with python script
1-create n points
2-relate this points with wires
3-define a plan
4-define a cut extrude
5-and finally delete points below the plan
thanks for your help!!
RE: delete datum points on Abaqus with python script
That won't work, since all initially selected datums are parents of the wire. So you can't delete any of those datums later.
But...
When you know the coordinates of the points that the wire should pass, why do you use datums to create the wire? Start the wire option and then enter the coordinates directly. Afterwards look into the .rpy file and take the python command to automate that process. With that method you don't need any datums.
RE: delete datum points on Abaqus with python script