Knowing the ID of Coordinate Systems Created in ANSYS Mechanical – or perhaps – You didn’t know that, everyone knows that…

Categories:

During this weeks webinar on Using APDL Snippets in ANSYS Mechanical a question came up about coordinate systems. I actually don’t remember the original question, but in answering it the question came into my mind: how do you get access to the ID of coordinate systems that you create in ANSYS Mechanical?

For a lot of items you can add to the ANSYS Mechanical model tree, you can attach a Command Object (snippet) and ANSYS Mechanical passes a parameter with the ID of the thing you want access to (material, contact pair, spring, joint, etc…).  But there is no way to add a Command Object to a coordinate system.

So I dug into it and found something I didn’t know.  The problem with discovering something like this and sharing it is that you either just uncovered something that can help a lot of users or you are going to embarrass yourself over something that everyone already knows.  The idea of a blog is to be casual and informal, so let’s see which I did.

If you click on a user created coordinate system in ANSYS Mechanical The Detail View list two things in the first grouping “Definition”.  They are Type and Coordinate System ID.  The default for the ID is “Program Controlled”  I’ve never clicked on it to see what the other options are. It turns out you can change it to “Manual”

image

Once you do that it gives you a second “Coordinate System ID” line and you can put in whatever number you want there.

image

Problem solved.  Just give your coordinate system whatever number you want and use that number in your macro.  Couldn’t be easier.

Hopefully, this was helpful. If so, rate this posting at a 5.

If you already knew this little factoid, rate it as a 1.

– Eric

Get Your Ansys Products & Support from the Engineers who Contribute to this Blog.

Technical Expertise to Enable your Additive Manufacturing Success.

Share this post:

Upcoming Events

Sep 08
, 2026
Accelerating Next-Generation Battery Innovation with Materials Simulation - Webinar
Sep 10
, 2026
Simulation World Houston - 2026
Sep 14
- Sep 19
, 2026
IMTS 2026
Sep 15
, 2026
Simulation for Data Center Cooling Infrastructure - Webinar
Sep 16
, 2026
Ansys Simulation Solutions for Electrical Machines - Webinar
Sep 16
, 2026
Entry-Level Structural, Thermal and Flow Simulation - Webinar
Sep 23
, 2026
AZTC September After 5
Sep 30
, 2026
The Role of the Digital Twin in Modern Design and Engineering - Webinar
Oct 07
, 2026
2026 AZBio Awards
Oct 08
, 2026
White Hat Life Science Investor Conference
Oct 13
- Oct 14
, 2026
Ansys Transportation Summit & International LS-DYNA User Conference
Oct 21
, 2026
2026 Southern Arizona Tech + Business Expo
Oct 22
, 2026
Tucson Ansys Optics User Group Meeting
Oct 28
, 2026
Nerdtoberfest 2026
Nov 15
- Nov 18
, 2026
2026 ANS Winter Conference & Expo
Nov 18
, 2026
2026 Governor’s Celebration of Innovation

Contact Us

Most of our customers receive their support over the phone or via email. Customers who are close by can also set up a face-to-face appointment with one of our engineers.

For most locations, simply contact us: