ANSA scripting - change PIDs
Hello everyone,
using python scripting I've created a mapped mesh of shells, starting from a set of four faces. You can think to a squared region, with four equal areas of identical shells. However, each area I've created have its own PID (I have four PIDs, progressively numbered), despite of a single PID. I've tried, once the mesh is created, to change and set the PID for all the shells to one of the existing ones (e.g. PID 1). I've tried in different ways but without success. Any suggestions? |
use this command
base.ReplaceProperty(old_pid, new_pid) this will help in changing pids |
1. Go to properties
2. select properties to be renamed. 3. Right click on name. 4. In modify just put subifm($,'old PID name','New PID name') |
All times are GMT -4. The time now is 23:32. |