Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I find out the number for the kp/line/area/volume I just created?

area kp line volume
0
Posted

How do I find out the number for the kp/line/area/volume I just created?

0

When you execute a command in ANSYS that creates a single entity, the number of the new entity is often stored in a hidden APDL variable called _return. This is not always documented so you need to try it and see if it works for what you are trying to do. If you are creating multiple entities or _return isn’t filled, then there are two common solutions. The first is to set the NUMSTR,type,value to some number that you know that is larger then your current highest number. Any new entities will start numbering at this value and increase by 1 for each additional entity. The second solution is to use components creatively. Create a component of the selected entities before the operation then unselect that component to grab all the new entities. You can then use *get’s to determine entity numbers or just throw them into a new component.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123