ansys / pymapdl

Pythonic interface to MAPDL
https://mapdl.docs.pyansys.com
MIT License
427 stars 120 forks source link

Just Command, Not GUI picking #3331

Open MRChung-EC opened 2 months ago

MRChung-EC commented 2 months ago

Description of the modifications

When i use subtracts command, such as ASBW, ASBA, I couldn't Pick areas.

in Pyansys, they just recommend that use areas if picking is used.

i already check the picking function that use in GUI picking areas in subract function.

so i just want to use command in order to pick areas in substract command.

would you help me that recommend a function that have been used or checked?

EX) ASBA, area, areas, SEPO, DELETE, KEEP

Useful links and references

화면 캡처 2024-08-06 144234

germa89 commented 2 months ago

Sorry... i'm not sure if I follow... do you want to use the GUI picking functions inside PyMAPDL? I dont think that is possible.

MRChung-EC commented 2 months ago

So, Can i make a group for using areas? and after that i wil use that commands

2024년 8월 7일 (수) 오전 3:46, German @.***>님이 작성:

Sorry... i'm not sure if I follow... do you want to use the GUI picking functions inside PyMAPDL? I dont think that is possible.

— Reply to this email directly, view it on GitHub https://github.com/ansys/pymapdl/issues/3331#issuecomment-2271925960, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKLAJBH6GKKXIU5F2G7KKDDZQEKW3AVCNFSM6AAAAABMBSHG6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZRHEZDKOJWGA . You are receiving this because you authored the thread.Message ID: @.***>

-- 정의철(Eui Cheol Chung) Department of Aerospace Engineering | Seoul National University M. S. Course. | Active Aeroelasticity And Rotorcraft Lab. Tel 2-880-1901 Mobile 10-5453-9399 Email @.*** Hompage http://helicopter.snu.ac.kr

MRChung-EC commented 2 months ago

Untitled Exactly What i want

mikerife commented 2 months ago

Hi @MRChung-EC @germa89 Yes, if you review the PyMAPDL documentation on say the ASBW command in the 'list of areas' a component can be used:

image

So you can select the group of areas then use the CM command to create a component with some name of your choosing. Then use that CM name in the command. Most/many of the MAPDL commands accept a component name in the place of a entity ID(s) or picking of entity/entities.

Mike