-
-
January 31, 2021 at 12:48 pm
Evgenii_K
SubscriberHi guys, I often come across the fact that I need to assign an APDL command to several hundred items, and so I decided to figure out how to do one command paste that will be assigned to all items at once. I have a test model of beams and shells, I want to change the shell properties to my own, assign them my own material number. Below I inserted a command that should change the properties of all shells, but something is wrong with it, can someone tell me what the problem is!n*SET,MAT_ID,101nDENS_=2400nEX_=206000nNUXY_=0.2nnMP,DENS,MAT_ID,DENS_,nMP,EX,MAT_ID,EX_,nMP,NUXY,MAT_ID,NUXY_,nn*get,typem,etyp,0,num,maxnet,typem+1,MAT_ID,1,1nesel,s,ename,,181nemodif,all,type,typem+1nallsel,alln -
February 1, 2021 at 1:39 pm
Rahul Kumbhar
Ansys EmployeeSome commands are wrongly used. Please check following rearranged commandsn*get,typem,etyp,0,num,maxnMAT_ID = typem+1 !or you can also use *set command herenDENS_=2400nEX_=206000nNUXY_=0.2nnet,MAT_ID,181nMP,DENS,MAT_ID,DENS_,nMP,EX,MAT_ID,EX_,nMP,NUXY,MAT_ID,NUXY_,nnesel,s,ename,,181nemodif,all,type,MAT_IDnallsel,all -
February 4, 2021 at 6:18 pm
Evgenii_K
SubscriberThanks to Rkumbhar for help, this weekend I will have time to try to correct my mistakes.n
-
Viewing 2 reply threads
- The topic ‘Assigning an APDL Command to Multiple Items’ is closed to new replies.
Ansys Innovation Space
Trending discussions
Top Contributors
-
3472
-
1057
-
1051
-
940
-
902
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.