Colon Operator in APDL Macro

MR
Matthew Ridzon, PE
Wed, Jun 26, 2024 7:04 PM

Folks,

I was recently reviewing an APDL script online.  In the script I noticed the author had a line that said...
:SRS
and another line that said...
:TRANS

I don't know what the colon operator does in APDL, nor "srs" or "trans."  Has anyone else seen these in APDL scripting?  Can you share a link for the discussion in Help, or give some explanation?

Matt Ridzon, PE, MSME
Sr. Engineering Analyst

Email    matt@prime-engineer.commailto:matt@prime-engineer.com
Mail        266 Main St, Burlington, VT 05401
Web      www.prime-engineer.comhttp://www.prime-engineer.com/
[A blue hexagon with white letters  Description automatically generated]
PRIME ENGINEERING LLC

This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited.

Folks, I was recently reviewing an APDL script online. In the script I noticed the author had a line that said... :SRS and another line that said... :TRANS I don't know what the colon operator does in APDL, nor "srs" or "trans." Has anyone else seen these in APDL scripting? Can you share a link for the discussion in Help, or give some explanation? Matt Ridzon, PE, MSME Sr. Engineering Analyst Email matt@prime-engineer.com<mailto:matt@prime-engineer.com> Mail 266 Main St, Burlington, VT 05401 Web www.prime-engineer.com<http://www.prime-engineer.com/> [A blue hexagon with white letters Description automatically generated] PRIME ENGINEERING LLC This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited.
JM
Joe Metrisin
Wed, Jun 26, 2024 7:31 PM

I haven't seen that I a long time.  I never used it much, but it's like a
GoTo statement in Fortran.  You can label a location in your macro, then
based on a conditional statement, tell it to jump to that location.

Sort of like this:

*if, day, eq, Friday, then
*go, bar
*endif
Xx
Xx
Xx
:bar
/input, beer

Joseph T Metrisin
Structures Lead

Florida Turbine Technologies, Inc a KRATOS Company
1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA
+1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile
Joe.Metrisin@kratosdefense.com

We are hiring; Join the FTT Team in Jupiter, Florida
Visit our website: https://kratosdefense.com

Confidentiality Note:
The information contained in this transmission and any attachments are
proprietary and may be privileged, intended only for the use of the
individual or entity named above. If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly prohibited.  If
you received this communication in error, please delete the message and
immediately notify the sender via the contact information listed above.

-----Original Message-----
From: Matthew Ridzon, PE via Xansys xansys-temp@list.xansys.org
Sent: Wednesday, June 26, 2024 3:05 PM
To: xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE Matt@prime-engineer.com
Subject: [External] - [Xansys] Colon Operator in APDL Macro

CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know the
content is safe.

Folks,

I was recently reviewing an APDL script online.  In the script I noticed the
author had a line that said...
:SRS
and another line that said...
:TRANS

I don't know what the colon operator does in APDL, nor "srs" or "trans."
Has anyone else seen these in APDL scripting?  Can you share a link for the
discussion in Help, or give some explanation?

Matt Ridzon, PE, MSME
Sr. Engineering Analyst

Email    matt@prime-engineer.commailto:matt@prime-engineer.com
Mail        266 Main St, Burlington, VT 05401
Web
https://urldefense.com/v3/http://www.prime-engineer.com;!!KM6X6ZXWXVtZMQ
!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJOTv
cij75wTKJiIoR_iTySPp74g$
<https://urldefense.com/v3/http://www.prime-engineer.com/;!!KM6X6ZXWXVtZ
MQ!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJO
Tvcij75wTKJiIoR_iQ3mMuy4Q$ >
[A blue hexagon with white letters  Description automatically generated]
PRIME ENGINEERING LLC

This message (including any attachments) may contain confidential,
proprietary, privileged and/or private information. The information is
intended to be for the use of the individual or entity designated above. If
you are not the intended recipient of this message, please notify the sender
immediately, and delete the message and any attachments. Any disclosure,
reproduction, distribution or other use of this message or any attachments
by an individual or entity other than the intended recipient is prohibited.

I haven't seen that I a long time. I never used it much, but it's like a GoTo statement in Fortran. You can label a location in your macro, then based on a conditional statement, tell it to jump to that location. Sort of like this: *if, day, eq, Friday, then *go, bar *endif Xx Xx Xx :bar /input, beer Joseph T Metrisin Structures Lead Florida Turbine Technologies, Inc a KRATOS Company 1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA +1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile Joe.Metrisin@kratosdefense.com We are hiring; Join the FTT Team in Jupiter, Florida Visit our website: https://kratosdefense.com Confidentiality Note: The information contained in this transmission and any attachments are proprietary and may be privileged, intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited.  If you received this communication in error, please delete the message and immediately notify the sender via the contact information listed above. -----Original Message----- From: Matthew Ridzon, PE via Xansys <xansys-temp@list.xansys.org> Sent: Wednesday, June 26, 2024 3:05 PM To: xansys-temp@list.xansys.org Cc: Matthew Ridzon, PE <Matt@prime-engineer.com> Subject: [External] - [Xansys] Colon Operator in APDL Macro CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Folks, I was recently reviewing an APDL script online. In the script I noticed the author had a line that said... :SRS and another line that said... :TRANS I don't know what the colon operator does in APDL, nor "srs" or "trans." Has anyone else seen these in APDL scripting? Can you share a link for the discussion in Help, or give some explanation? Matt Ridzon, PE, MSME Sr. Engineering Analyst Email matt@prime-engineer.com<mailto:matt@prime-engineer.com> Mail 266 Main St, Burlington, VT 05401 Web https://urldefense.com/v3/__http://www.prime-engineer.com__;!!KM6X6ZXWXVtZMQ !e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJOTv cij75wTKJiIoR_iTySPp74g$ <https://urldefense.com/v3/__http://www.prime-engineer.com/__;!!KM6X6ZXWXVtZ MQ!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJO Tvcij75wTKJiIoR_iQ3mMuy4Q$ > [A blue hexagon with white letters Description automatically generated] PRIME ENGINEERING LLC This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited.
MR
Matthew Ridzon, PE
Wed, Jun 26, 2024 7:43 PM

Joesph,

Thanks for this feedback.  Do you know if it's documented anywhere?  Or is it one of those hidden syntaxes that only longtime users know about?

-Matt

-----Original Message-----
From: Joe Metrisin Joe.Metrisin@kratosdefense.com
Sent: Wednesday, June 26, 2024 3:32 PM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE Matt@prime-engineer.com
Subject: RE: [External] - [Xansys] Colon Operator in APDL Macro

I haven't seen that I a long time.  I never used it much, but it's like a
GoTo statement in Fortran.  You can label a location in your macro, then
based on a conditional statement, tell it to jump to that location.

Sort of like this:

*if, day, eq, Friday, then
*go, bar
*endif
Xx
Xx
Xx
:bar
/input, beer

Joseph T Metrisin
Structures Lead

Florida Turbine Technologies, Inc a KRATOS Company
1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA
+1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile
Joe.Metrisin@kratosdefense.com

We are hiring; Join the FTT Team in Jupiter, Florida
Visit our website: https://kratosdefense.com

Confidentiality Note:
The information contained in this transmission and any attachments are
proprietary and may be privileged, intended only for the use of the
individual or entity named above. If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly prohibited.  If
you received this communication in error, please delete the message and
immediately notify the sender via the contact information listed above.

-----Original Message-----
From: Matthew Ridzon, PE via Xansys xansys-temp@list.xansys.org
Sent: Wednesday, June 26, 2024 3:05 PM
To: xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE Matt@prime-engineer.com
Subject: [External] - [Xansys] Colon Operator in APDL Macro

CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know the
content is safe.

Folks,

I was recently reviewing an APDL script online.  In the script I noticed the
author had a line that said...
:SRS
and another line that said...
:TRANS

I don't know what the colon operator does in APDL, nor "srs" or "trans."
Has anyone else seen these in APDL scripting?  Can you share a link for the
discussion in Help, or give some explanation?

Matt Ridzon, PE, MSME
Sr. Engineering Analyst

Email    matt@prime-engineer.commailto:matt@prime-engineer.com
Mail        266 Main St, Burlington, VT 05401
Web
https://urldefense.com/v3/http://www.prime-engineer.com;!!KM6X6ZXWXVtZMQ
!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJOTv
cij75wTKJiIoR_iTySPp74g$
<https://urldefense.com/v3/http://www.prime-engineer.com/;!!KM6X6ZXWXVtZ
MQ!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJO
Tvcij75wTKJiIoR_iQ3mMuy4Q$ >
[A blue hexagon with white letters  Description automatically generated]
PRIME ENGINEERING LLC

This message (including any attachments) may contain confidential,
proprietary, privileged and/or private information. The information is
intended to be for the use of the individual or entity designated above. If
you are not the intended recipient of this message, please notify the sender
immediately, and delete the message and any attachments. Any disclosure,
reproduction, distribution or other use of this message or any attachments
by an individual or entity other than the intended recipient is prohibited.

Joesph, Thanks for this feedback. Do you know if it's documented anywhere? Or is it one of those hidden syntaxes that only longtime users know about? -Matt -----Original Message----- From: Joe Metrisin <Joe.Metrisin@kratosdefense.com> Sent: Wednesday, June 26, 2024 3:32 PM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Matthew Ridzon, PE <Matt@prime-engineer.com> Subject: RE: [External] - [Xansys] Colon Operator in APDL Macro I haven't seen that I a long time. I never used it much, but it's like a GoTo statement in Fortran. You can label a location in your macro, then based on a conditional statement, tell it to jump to that location. Sort of like this: *if, day, eq, Friday, then *go, bar *endif Xx Xx Xx :bar /input, beer Joseph T Metrisin Structures Lead Florida Turbine Technologies, Inc a KRATOS Company 1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA +1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile Joe.Metrisin@kratosdefense.com We are hiring; Join the FTT Team in Jupiter, Florida Visit our website: https://kratosdefense.com Confidentiality Note: The information contained in this transmission and any attachments are proprietary and may be privileged, intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited.  If you received this communication in error, please delete the message and immediately notify the sender via the contact information listed above. -----Original Message----- From: Matthew Ridzon, PE via Xansys <xansys-temp@list.xansys.org> Sent: Wednesday, June 26, 2024 3:05 PM To: xansys-temp@list.xansys.org Cc: Matthew Ridzon, PE <Matt@prime-engineer.com> Subject: [External] - [Xansys] Colon Operator in APDL Macro CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Folks, I was recently reviewing an APDL script online. In the script I noticed the author had a line that said... :SRS and another line that said... :TRANS I don't know what the colon operator does in APDL, nor "srs" or "trans." Has anyone else seen these in APDL scripting? Can you share a link for the discussion in Help, or give some explanation? Matt Ridzon, PE, MSME Sr. Engineering Analyst Email matt@prime-engineer.com<mailto:matt@prime-engineer.com> Mail 266 Main St, Burlington, VT 05401 Web https://urldefense.com/v3/__http://www.prime-engineer.com__;!!KM6X6ZXWXVtZMQ !e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJOTv cij75wTKJiIoR_iTySPp74g$ <https://urldefense.com/v3/__http://www.prime-engineer.com/__;!!KM6X6ZXWXVtZ MQ!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJO Tvcij75wTKJiIoR_iQ3mMuy4Q$ > [A blue hexagon with white letters Description automatically generated] PRIME ENGINEERING LLC This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited.
JM
Joe Metrisin
Wed, Jun 26, 2024 7:47 PM

I don't remember where I learned about it.  Maybe from Sheldon's old
ansys.net website.  If you do a help on *GO, that is documented and makes
reference to the label syntax.

Joseph T Metrisin
Structures Lead

Florida Turbine Technologies, Inc a KRATOS Company
1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA
+1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile
Joe.Metrisin@kratosdefense.com

We are hiring; Join the FTT Team in Jupiter, Florida
Visit our website: https://kratosdefense.com

Confidentiality Note:
The information contained in this transmission and any attachments are
proprietary and may be privileged, intended only for the use of the
individual or entity named above. If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly prohibited.  If
you received this communication in error, please delete the message and
immediately notify the sender via the contact information listed above.

-----Original Message-----
From: Matthew Ridzon, PE Matt@prime-engineer.com
Sent: Wednesday, June 26, 2024 3:44 PM
To: Joe Metrisin Joe.Metrisin@kratosdefense.com; XANSYS Mailing List Home
xansys-temp@list.xansys.org
Subject: RE: [External] - [Xansys] Colon Operator in APDL Macro

CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know the
content is safe.

Joesph,

Thanks for this feedback.  Do you know if it's documented anywhere?  Or is
it one of those hidden syntaxes that only longtime users know about?

-Matt

-----Original Message-----
From: Joe Metrisin Joe.Metrisin@kratosdefense.com
Sent: Wednesday, June 26, 2024 3:32 PM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE Matt@prime-engineer.com
Subject: RE: [External] - [Xansys] Colon Operator in APDL Macro

I haven't seen that I a long time.  I never used it much, but it's like a
GoTo statement in Fortran.  You can label a location in your macro, then
based on a conditional statement, tell it to jump to that location.

Sort of like this:

*if, day, eq, Friday, then
*go, bar
*endif
Xx
Xx
Xx
:bar
/input, beer

Joseph T Metrisin
Structures Lead

Florida Turbine Technologies, Inc a KRATOS Company
1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA
+1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile
Joe.Metrisin@kratosdefense.com

We are hiring; Join the FTT Team in Jupiter, Florida Visit our website:
https://kratosdefense.com

Confidentiality Note:
The information contained in this transmission and any attachments are
proprietary and may be privileged, intended only for the use of the
individual or entity named above. If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly prohibited.  If
you received this communication in error, please delete the message and
immediately notify the sender via the contact information listed above.

-----Original Message-----
From: Matthew Ridzon, PE via Xansys xansys-temp@list.xansys.org
Sent: Wednesday, June 26, 2024 3:05 PM
To: xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE Matt@prime-engineer.com
Subject: [External] - [Xansys] Colon Operator in APDL Macro

CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know the
content is safe.

Folks,

I was recently reviewing an APDL script online.  In the script I noticed the
author had a line that said...
:SRS
and another line that said...
:TRANS

I don't know what the colon operator does in APDL, nor "srs" or "trans."
Has anyone else seen these in APDL scripting?  Can you share a link for the
discussion in Help, or give some explanation?

Matt Ridzon, PE, MSME
Sr. Engineering Analyst

Email    matt@prime-engineer.commailto:matt@prime-engineer.com
Mail        266 Main St, Burlington, VT 05401
Web
https://urldefense.com/v3/http://www.prime-engineer.com;!!KM6X6ZXWXVtZMQ
!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJOTv
cij75wTKJiIoR_iTySPp74g$
<https://urldefense.com/v3/http://www.prime-engineer.com/;!!KM6X6ZXWXVtZ
MQ!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJO
Tvcij75wTKJiIoR_iQ3mMuy4Q$ >
[A blue hexagon with white letters  Description automatically generated]
PRIME ENGINEERING LLC

This message (including any attachments) may contain confidential,
proprietary, privileged and/or private information. The information is
intended to be for the use of the individual or entity designated above. If
you are not the intended recipient of this message, please notify the sender
immediately, and delete the message and any attachments. Any disclosure,
reproduction, distribution or other use of this message or any attachments
by an individual or entity other than the intended recipient is prohibited.

I don't remember where I learned about it. Maybe from Sheldon's old ansys.net website. If you do a help on *GO, that is documented and makes reference to the label syntax. Joseph T Metrisin Structures Lead Florida Turbine Technologies, Inc a KRATOS Company 1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA +1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile Joe.Metrisin@kratosdefense.com We are hiring; Join the FTT Team in Jupiter, Florida Visit our website: https://kratosdefense.com Confidentiality Note: The information contained in this transmission and any attachments are proprietary and may be privileged, intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited.  If you received this communication in error, please delete the message and immediately notify the sender via the contact information listed above. -----Original Message----- From: Matthew Ridzon, PE <Matt@prime-engineer.com> Sent: Wednesday, June 26, 2024 3:44 PM To: Joe Metrisin <Joe.Metrisin@kratosdefense.com>; XANSYS Mailing List Home <xansys-temp@list.xansys.org> Subject: RE: [External] - [Xansys] Colon Operator in APDL Macro CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Joesph, Thanks for this feedback. Do you know if it's documented anywhere? Or is it one of those hidden syntaxes that only longtime users know about? -Matt -----Original Message----- From: Joe Metrisin <Joe.Metrisin@kratosdefense.com> Sent: Wednesday, June 26, 2024 3:32 PM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Matthew Ridzon, PE <Matt@prime-engineer.com> Subject: RE: [External] - [Xansys] Colon Operator in APDL Macro I haven't seen that I a long time. I never used it much, but it's like a GoTo statement in Fortran. You can label a location in your macro, then based on a conditional statement, tell it to jump to that location. Sort of like this: *if, day, eq, Friday, then *go, bar *endif Xx Xx Xx :bar /input, beer Joseph T Metrisin Structures Lead Florida Turbine Technologies, Inc a KRATOS Company 1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA +1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile Joe.Metrisin@kratosdefense.com We are hiring; Join the FTT Team in Jupiter, Florida Visit our website: https://kratosdefense.com Confidentiality Note: The information contained in this transmission and any attachments are proprietary and may be privileged, intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you received this communication in error, please delete the message and immediately notify the sender via the contact information listed above. -----Original Message----- From: Matthew Ridzon, PE via Xansys <xansys-temp@list.xansys.org> Sent: Wednesday, June 26, 2024 3:05 PM To: xansys-temp@list.xansys.org Cc: Matthew Ridzon, PE <Matt@prime-engineer.com> Subject: [External] - [Xansys] Colon Operator in APDL Macro CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Folks, I was recently reviewing an APDL script online. In the script I noticed the author had a line that said... :SRS and another line that said... :TRANS I don't know what the colon operator does in APDL, nor "srs" or "trans." Has anyone else seen these in APDL scripting? Can you share a link for the discussion in Help, or give some explanation? Matt Ridzon, PE, MSME Sr. Engineering Analyst Email matt@prime-engineer.com<mailto:matt@prime-engineer.com> Mail 266 Main St, Burlington, VT 05401 Web https://urldefense.com/v3/__http://www.prime-engineer.com__;!!KM6X6ZXWXVtZMQ !e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJOTv cij75wTKJiIoR_iTySPp74g$ <https://urldefense.com/v3/__http://www.prime-engineer.com/__;!!KM6X6ZXWXVtZ MQ!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJO Tvcij75wTKJiIoR_iQ3mMuy4Q$ > [A blue hexagon with white letters Description automatically generated] PRIME ENGINEERING LLC This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited.
AG
Alex Grishin
Wed, Jun 26, 2024 7:48 PM

From the 2024R1 documentation:

[cid:image001.png@01DAC7C7.2AA6BA40]

Alex Grishin, PhD

Consulting Engineer

PADT, Inc.

www.padtinc.com

480-813-4884 x133

alex.grishin@padtinc.com

Simulation - Product Development - Rapid Prototyping

CONFIDENTIALITY NOTICE: This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain confidential and/or privileged information.  Unless you are the intended recipient, you are hereby notified that copying, forwarding, printing or otherwise disseminating the information contained in or attached to this e-mail is strictly prohibited. If you are not the intended recipient, please notify the sender by telephone, and immediately and permanently delete and destroy all copies and printouts of this e-mail message and/or attachments.

-----Original Message-----
From: Matthew Ridzon, PE via Xansys xansys-temp@list.xansys.org
Sent: Wednesday, June 26, 2024 12:44 PM
To: Joe Metrisin Joe.Metrisin@kratosdefense.com; XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE Matt@prime-engineer.com
Subject: [Xansys] Re: [External] - Colon Operator in APDL Macro

Joesph,

Thanks for this feedback.  Do you know if it's documented anywhere?  Or is it one of those hidden syntaxes that only longtime users know about?

-Matt

-----Original Message-----

From: Joe Metrisin <Joe.Metrisin@kratosdefense.commailto:Joe.Metrisin@kratosdefense.com>

Sent: Wednesday, June 26, 2024 3:32 PM

To: XANSYS Mailing List Home <xansys-temp@list.xansys.orgmailto:xansys-temp@list.xansys.org>

Cc: Matthew Ridzon, PE <Matt@prime-engineer.commailto:Matt@prime-engineer.com>

Subject: RE: [External] - [Xansys] Colon Operator in APDL Macro

I haven't seen that I a long time.  I never used it much, but it's like a GoTo statement in Fortran.  You can label a location in your macro, then based on a conditional statement, tell it to jump to that location.

Sort of like this:

*if, day, eq, Friday, then

*go, bar

*endif

Xx

Xx

Xx

:bar

/input, beer

Joseph T Metrisin

Structures Lead

Florida Turbine Technologies, Inc a KRATOS Company

1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA

+1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile

Joe.Metrisin@kratosdefense.commailto:Joe.Metrisin@kratosdefense.com

We are hiring; Join the FTT Team in Jupiter, Florida Visit our website: https://kratosdefense.com

Confidentiality Note:

The information contained in this transmission and any attachments are

proprietary and may be privileged, intended only for the use of the

individual or entity named above. If the reader of this message is not the

intended recipient, you are hereby notified that any dissemination,

distribution, or copying of this communication is strictly prohibited.  If

you received this communication in error, please delete the message and

immediately notify the sender via the contact information listed above.

-----Original Message-----

From: Matthew Ridzon, PE via Xansys <xansys-temp@list.xansys.orgmailto:xansys-temp@list.xansys.org>

Sent: Wednesday, June 26, 2024 3:05 PM

To: xansys-temp@list.xansys.orgmailto:xansys-temp@list.xansys.org

Cc: Matthew Ridzon, PE <Matt@prime-engineer.commailto:Matt@prime-engineer.com>

Subject: [External] - [Xansys] Colon Operator in APDL Macro

CAUTION: This email originated from outside of the organization. Do not

click links or open attachments unless you recognize the sender and know the

content is safe.

Folks,

I was recently reviewing an APDL script online.  In the script I noticed the

author had a line that said...

:SRS

and another line that said...

:TRANS

I don't know what the colon operator does in APDL, nor "srs" or "trans."

Has anyone else seen these in APDL scripting?  Can you share a link for the

discussion in Help, or give some explanation?

Matt Ridzon, PE, MSME

Sr. Engineering Analyst

Email    matt@prime-engineer.com<mailto:matt@prime-engineer.commailto:matt@prime-engineer.com%3cmailto:matt@prime-engineer.com>

Mail        266 Main St, Burlington, VT 05401

Web

https://urldefense.com/v3/http://www.prime-engineer.com;!!KM6X6ZXWXVtZMQhttps://urldefense.com/v3/__http:/www.prime-engineer.com__;!!KM6X6ZXWXVtZMQ

!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJOTv

cij75wTKJiIoR_iTySPp74g$

<https://urldefense.com/v3/http://www.prime-engineer.com/;!!KM6X6ZXWXVtZ

MQ!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJO

Tvcij75wTKJiIoR_iQ3mMuy4Q$ >

[A blue hexagon with white letters  Description automatically generated]

PRIME ENGINEERING LLC

This message (including any attachments) may contain confidential,

proprietary, privileged and/or private information. The information is

intended to be for the use of the individual or entity designated above. If

you are not the intended recipient of this message, please notify the sender

immediately, and delete the message and any attachments. Any disclosure,

reproduction, distribution or other use of this message or any attachments

by an individual or entity other than the intended recipient is prohibited.


Xansys mailing list -- xansys-temp@list.xansys.orgmailto:xansys-temp@list.xansys.org

To unsubscribe send an email to xansys-temp-leave@list.xansys.orgmailto:xansys-temp-leave@list.xansys.org

If you are receiving too many emails from XANSYS please consider changing account settings to Digest mode which will send a single email per day.

Please send administrative requests such as deletion from XANSYS to xansys-mod@tynecomp.co.ukmailto:xansys-mod@tynecomp.co.uk and not to the list

From the 2024R1 documentation: [cid:image001.png@01DAC7C7.2AA6BA40] Alex Grishin, PhD Consulting Engineer PADT, Inc. www.padtinc.com 480-813-4884 x133 alex.grishin@padtinc.com Simulation - Product Development - Rapid Prototyping CONFIDENTIALITY NOTICE: This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. Unless you are the intended recipient, you are hereby notified that copying, forwarding, printing or otherwise disseminating the information contained in or attached to this e-mail is strictly prohibited. If you are not the intended recipient, please notify the sender by telephone, and immediately and permanently delete and destroy all copies and printouts of this e-mail message and/or attachments. -----Original Message----- From: Matthew Ridzon, PE via Xansys <xansys-temp@list.xansys.org> Sent: Wednesday, June 26, 2024 12:44 PM To: Joe Metrisin <Joe.Metrisin@kratosdefense.com>; XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Matthew Ridzon, PE <Matt@prime-engineer.com> Subject: [Xansys] Re: [External] - Colon Operator in APDL Macro Joesph, Thanks for this feedback. Do you know if it's documented anywhere? Or is it one of those hidden syntaxes that only longtime users know about? -Matt -----Original Message----- From: Joe Metrisin <Joe.Metrisin@kratosdefense.com<mailto:Joe.Metrisin@kratosdefense.com>> Sent: Wednesday, June 26, 2024 3:32 PM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org<mailto:xansys-temp@list.xansys.org>> Cc: Matthew Ridzon, PE <Matt@prime-engineer.com<mailto:Matt@prime-engineer.com>> Subject: RE: [External] - [Xansys] Colon Operator in APDL Macro I haven't seen that I a long time. I never used it much, but it's like a GoTo statement in Fortran. You can label a location in your macro, then based on a conditional statement, tell it to jump to that location. Sort of like this: *if, day, eq, Friday, then *go, bar *endif Xx Xx Xx :bar /input, beer Joseph T Metrisin Structures Lead Florida Turbine Technologies, Inc a KRATOS Company 1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA +1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile Joe.Metrisin@kratosdefense.com<mailto:Joe.Metrisin@kratosdefense.com> We are hiring; Join the FTT Team in Jupiter, Florida Visit our website: https://kratosdefense.com Confidentiality Note: The information contained in this transmission and any attachments are proprietary and may be privileged, intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you received this communication in error, please delete the message and immediately notify the sender via the contact information listed above. -----Original Message----- From: Matthew Ridzon, PE via Xansys <xansys-temp@list.xansys.org<mailto:xansys-temp@list.xansys.org>> Sent: Wednesday, June 26, 2024 3:05 PM To: xansys-temp@list.xansys.org<mailto:xansys-temp@list.xansys.org> Cc: Matthew Ridzon, PE <Matt@prime-engineer.com<mailto:Matt@prime-engineer.com>> Subject: [External] - [Xansys] Colon Operator in APDL Macro CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Folks, I was recently reviewing an APDL script online. In the script I noticed the author had a line that said... :SRS and another line that said... :TRANS I don't know what the colon operator does in APDL, nor "srs" or "trans." Has anyone else seen these in APDL scripting? Can you share a link for the discussion in Help, or give some explanation? Matt Ridzon, PE, MSME Sr. Engineering Analyst Email matt@prime-engineer.com<mailto:matt@prime-engineer.com<mailto:matt@prime-engineer.com%3cmailto:matt@prime-engineer.com>> Mail 266 Main St, Burlington, VT 05401 Web https://urldefense.com/v3/__http://www.prime-engineer.com__;!!KM6X6ZXWXVtZMQ<https://urldefense.com/v3/__http:/www.prime-engineer.com__;!!KM6X6ZXWXVtZMQ> !e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJOTv cij75wTKJiIoR_iTySPp74g$ <https://urldefense.com/v3/__http://www.prime-engineer.com/__;!!KM6X6ZXWXVtZ MQ!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJO Tvcij75wTKJiIoR_iQ3mMuy4Q$ > [A blue hexagon with white letters Description automatically generated] PRIME ENGINEERING LLC This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited. _______________________________________________ Xansys mailing list -- xansys-temp@list.xansys.org<mailto:xansys-temp@list.xansys.org> To unsubscribe send an email to xansys-temp-leave@list.xansys.org<mailto:xansys-temp-leave@list.xansys.org> If you are receiving too many emails from XANSYS please consider changing account settings to Digest mode which will send a single email per day. Please send administrative requests such as deletion from XANSYS to xansys-mod@tynecomp.co.uk<mailto:xansys-mod@tynecomp.co.uk> and not to the list
JM
Joe Metrisin
Wed, Jun 26, 2024 7:53 PM

I recall from my Fortran days, that GoTo statements were considered a poor
programming practice.  APDL is sort of Fortran based, so I think that
applies there too.  That's why you don't see it used much.  You can usually
accomplish the same thing with the various conditional statements like *if,
then, elseif, etc..

Joseph T Metrisin

Structures Lead

Florida Turbine Technologies, Inc a KRATOS Company

1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA

+1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile

mailto:Joe.Metrisin@kratosdefense.com Joe.Metrisin@kratosdefense.com

We are hiring;  https://kratosdefense.com/careers Join the FTT Team in
Jupiter, Florida

Visit our website:  https://kratosdefense.com/ https://kratosdefense.com

Confidentiality Note:

The information contained in this transmission and any attachments are
proprietary and may be privileged, intended only for the use of the
individual or entity named above. If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly prohibited.  If
you received this communication in error, please delete the message and
immediately notify the sender via the contact information listed above.


From: Alex Grishin alex.grishin@padtinc.com
Sent: Wednesday, June 26, 2024 3:49 PM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org; Joe Metrisin
Joe.Metrisin@kratosdefense.com
Cc: Matthew Ridzon, PE Matt@prime-engineer.com
Subject: RE: [Xansys] Re: [External] - Colon Operator in APDL Macro

CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know the
content is safe.

From the 2024R1 documentation:

Alex Grishin, PhD

Consulting Engineer

PADT, Inc.

www.padtinc.com
<https://urldefense.com/v3/http:/www.padtinc.com;!!KM6X6ZXWXVtZMQ!ZKjEjB
52a4lfhg0rk1t2md0PjidXGcloo1Uwo6TL6V-B9L14d70wwADnTGJaBmVnW8uB6J0FY3D66usK09
n7GEfErJii_NQ$>

480-813-4884 x133

alex.grishin@padtinc.com mailto:alex.grishin@padtinc.com

Simulation - Product Development - Rapid Prototyping

CONFIDENTIALITY NOTICE: This e-mail message and any attachments are for the
sole use of the intended recipient(s) and may contain confidential and/or
privileged information.  Unless you are the intended recipient, you are
hereby notified that copying, forwarding, printing or otherwise
disseminating the information contained in or attached to this e-mail is
strictly prohibited. If you are not the intended recipient, please notify
the sender by telephone, and immediately and permanently delete and destroy
all copies and printouts of this e-mail message and/or attachments.

-----Original Message-----
From: Matthew Ridzon, PE via Xansys <xansys-temp@list.xansys.org
mailto:xansys-temp@list.xansys.org >
Sent: Wednesday, June 26, 2024 12:44 PM
To: Joe Metrisin <Joe.Metrisin@kratosdefense.com
mailto:Joe.Metrisin@kratosdefense.com >; XANSYS Mailing List Home
<xansys-temp@list.xansys.org mailto:xansys-temp@list.xansys.org >
Cc: Matthew Ridzon, PE <Matt@prime-engineer.com
mailto:Matt@prime-engineer.com >
Subject: [Xansys] Re: [External] - Colon Operator in APDL Macro

Joesph,

Thanks for this feedback.  Do you know if it's documented anywhere?  Or is
it one of those hidden syntaxes that only longtime users know about?

-Matt

-----Original Message-----

From: Joe Metrisin < mailto:Joe.Metrisin@kratosdefense.com
Joe.Metrisin@kratosdefense.com>

Sent: Wednesday, June 26, 2024 3:32 PM

To: XANSYS Mailing List Home < mailto:xansys-temp@list.xansys.org
xansys-temp@list.xansys.org>

Cc: Matthew Ridzon, PE < mailto:Matt@prime-engineer.com
Matt@prime-engineer.com>

Subject: RE: [External] - [Xansys] Colon Operator in APDL Macro

I haven't seen that I a long time.  I never used it much, but it's like a
GoTo statement in Fortran.  You can label a location in your macro, then
based on a conditional statement, tell it to jump to that location.

Sort of like this:

*if, day, eq, Friday, then

*go, bar

*endif

Xx

Xx

Xx

:bar

/input, beer

Joseph T Metrisin

Structures Lead

Florida Turbine Technologies, Inc a KRATOS Company

1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA

+1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile

mailto:Joe.Metrisin@kratosdefense.com Joe.Metrisin@kratosdefense.com

We are hiring; Join the FTT Team in Jupiter, Florida Visit our website:
https://kratosdefense.com https://kratosdefense.com

Confidentiality Note:

The information contained in this transmission and any attachments are

proprietary and may be privileged, intended only for the use of the

individual or entity named above. If the reader of this message is not the

intended recipient, you are hereby notified that any dissemination,

distribution, or copying of this communication is strictly prohibited.  If

you received this communication in error, please delete the message and

immediately notify the sender via the contact information listed above.

-----Original Message-----

From: Matthew Ridzon, PE via Xansys < mailto:xansys-temp@list.xansys.org
xansys-temp@list.xansys.org>

Sent: Wednesday, June 26, 2024 3:05 PM

To:  mailto:xansys-temp@list.xansys.org xansys-temp@list.xansys.org

Cc: Matthew Ridzon, PE < mailto:Matt@prime-engineer.com
Matt@prime-engineer.com>

Subject: [External] - [Xansys] Colon Operator in APDL Macro

CAUTION: This email originated from outside of the organization. Do not

click links or open attachments unless you recognize the sender and know the

content is safe.

Folks,

I was recently reviewing an APDL script online.  In the script I noticed the

author had a line that said...

:SRS

and another line that said...

:TRANS

I don't know what the colon operator does in APDL, nor "srs" or "trans."

Has anyone else seen these in APDL scripting?  Can you share a link for the

discussion in Help, or give some explanation?

Matt Ridzon, PE, MSME

Sr. Engineering Analyst

Email      mailto:matt@prime-engineer.com%3cmailto:matt@prime-engineer.com
matt@prime-engineer.commailto:matt@prime-engineer.com

Mail        266 Main St, Burlington, VT 05401

Web

<https://urldefense.com/v3/http:/www.prime-engineer.com;!!KM6X6ZXWXVtZMQ

https://urldefense.com/v3/http://www.prime-engineer.com;!!KM6X6ZXWXVtZMQ

!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJOTv

cij75wTKJiIoR_iTySPp74g$

<https://urldefense.com/v3/http://www.prime-engineer.com/;!!KM6X6ZXWXVtZ

MQ!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJO

Tvcij75wTKJiIoR_iQ3mMuy4Q$ >

[A blue hexagon with white letters  Description automatically generated]

PRIME ENGINEERING LLC

This message (including any attachments) may contain confidential,

proprietary, privileged and/or private information. The information is

intended to be for the use of the individual or entity designated above. If

you are not the intended recipient of this message, please notify the sender

immediately, and delete the message and any attachments. Any disclosure,

reproduction, distribution or other use of this message or any attachments

by an individual or entity other than the intended recipient is prohibited.


Xansys mailing list --  mailto:xansys-temp@list.xansys.org
xansys-temp@list.xansys.org

To unsubscribe send an email to  mailto:xansys-temp-leave@list.xansys.org
xansys-temp-leave@list.xansys.org

If you are receiving too many emails from XANSYS please consider changing
account settings to Digest mode which will send a single email per day.

Please send administrative requests such as deletion from XANSYS to
mailto:xansys-mod@tynecomp.co.uk xansys-mod@tynecomp.co.uk and not to the
list

I recall from my Fortran days, that GoTo statements were considered a poor programming practice. APDL is sort of Fortran based, so I think that applies there too. That's why you don't see it used much. You can usually accomplish the same thing with the various conditional statements like *if, then, elseif, etc.. Joseph T Metrisin Structures Lead Florida Turbine Technologies, Inc a KRATOS Company 1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA +1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile <mailto:Joe.Metrisin@kratosdefense.com> Joe.Metrisin@kratosdefense.com We are hiring; <https://kratosdefense.com/careers> Join the FTT Team in Jupiter, Florida Visit our website: <https://kratosdefense.com/> https://kratosdefense.com Confidentiality Note: The information contained in this transmission and any attachments are proprietary and may be privileged, intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you received this communication in error, please delete the message and immediately notify the sender via the contact information listed above. _____ From: Alex Grishin <alex.grishin@padtinc.com> Sent: Wednesday, June 26, 2024 3:49 PM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org>; Joe Metrisin <Joe.Metrisin@kratosdefense.com> Cc: Matthew Ridzon, PE <Matt@prime-engineer.com> Subject: RE: [Xansys] Re: [External] - Colon Operator in APDL Macro CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. From the 2024R1 documentation: Alex Grishin, PhD Consulting Engineer PADT, Inc. www.padtinc.com <https://urldefense.com/v3/__http:/www.padtinc.com__;!!KM6X6ZXWXVtZMQ!ZKjEjB 52a4lfhg0rk1t2md0PjidXGcloo1Uwo6TL6V-B9L14d70wwADnTGJaBmVnW8uB6J0FY3D66usK09 n7GEfErJii_NQ$> 480-813-4884 x133 alex.grishin@padtinc.com <mailto:alex.grishin@padtinc.com> Simulation - Product Development - Rapid Prototyping CONFIDENTIALITY NOTICE: This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. Unless you are the intended recipient, you are hereby notified that copying, forwarding, printing or otherwise disseminating the information contained in or attached to this e-mail is strictly prohibited. If you are not the intended recipient, please notify the sender by telephone, and immediately and permanently delete and destroy all copies and printouts of this e-mail message and/or attachments. -----Original Message----- From: Matthew Ridzon, PE via Xansys <xansys-temp@list.xansys.org <mailto:xansys-temp@list.xansys.org> > Sent: Wednesday, June 26, 2024 12:44 PM To: Joe Metrisin <Joe.Metrisin@kratosdefense.com <mailto:Joe.Metrisin@kratosdefense.com> >; XANSYS Mailing List Home <xansys-temp@list.xansys.org <mailto:xansys-temp@list.xansys.org> > Cc: Matthew Ridzon, PE <Matt@prime-engineer.com <mailto:Matt@prime-engineer.com> > Subject: [Xansys] Re: [External] - Colon Operator in APDL Macro Joesph, Thanks for this feedback. Do you know if it's documented anywhere? Or is it one of those hidden syntaxes that only longtime users know about? -Matt -----Original Message----- From: Joe Metrisin < <mailto:Joe.Metrisin@kratosdefense.com> Joe.Metrisin@kratosdefense.com> Sent: Wednesday, June 26, 2024 3:32 PM To: XANSYS Mailing List Home < <mailto:xansys-temp@list.xansys.org> xansys-temp@list.xansys.org> Cc: Matthew Ridzon, PE < <mailto:Matt@prime-engineer.com> Matt@prime-engineer.com> Subject: RE: [External] - [Xansys] Colon Operator in APDL Macro I haven't seen that I a long time. I never used it much, but it's like a GoTo statement in Fortran. You can label a location in your macro, then based on a conditional statement, tell it to jump to that location. Sort of like this: *if, day, eq, Friday, then *go, bar *endif Xx Xx Xx :bar /input, beer Joseph T Metrisin Structures Lead Florida Turbine Technologies, Inc a KRATOS Company 1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA +1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile <mailto:Joe.Metrisin@kratosdefense.com> Joe.Metrisin@kratosdefense.com We are hiring; Join the FTT Team in Jupiter, Florida Visit our website: <https://kratosdefense.com> https://kratosdefense.com Confidentiality Note: The information contained in this transmission and any attachments are proprietary and may be privileged, intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you received this communication in error, please delete the message and immediately notify the sender via the contact information listed above. -----Original Message----- From: Matthew Ridzon, PE via Xansys < <mailto:xansys-temp@list.xansys.org> xansys-temp@list.xansys.org> Sent: Wednesday, June 26, 2024 3:05 PM To: <mailto:xansys-temp@list.xansys.org> xansys-temp@list.xansys.org Cc: Matthew Ridzon, PE < <mailto:Matt@prime-engineer.com> Matt@prime-engineer.com> Subject: [External] - [Xansys] Colon Operator in APDL Macro CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Folks, I was recently reviewing an APDL script online. In the script I noticed the author had a line that said... :SRS and another line that said... :TRANS I don't know what the colon operator does in APDL, nor "srs" or "trans." Has anyone else seen these in APDL scripting? Can you share a link for the discussion in Help, or give some explanation? Matt Ridzon, PE, MSME Sr. Engineering Analyst Email <mailto:matt@prime-engineer.com%3cmailto:matt@prime-engineer.com> matt@prime-engineer.com<mailto:matt@prime-engineer.com> Mail 266 Main St, Burlington, VT 05401 Web <https://urldefense.com/v3/__http:/www.prime-engineer.com__;!!KM6X6ZXWXVtZMQ > https://urldefense.com/v3/__http://www.prime-engineer.com__;!!KM6X6ZXWXVtZMQ !e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJOTv cij75wTKJiIoR_iTySPp74g$ <https://urldefense.com/v3/__http://www.prime-engineer.com/__;!!KM6X6ZXWXVtZ MQ!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJO Tvcij75wTKJiIoR_iQ3mMuy4Q$ > [A blue hexagon with white letters Description automatically generated] PRIME ENGINEERING LLC This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited. _______________________________________________ Xansys mailing list -- <mailto:xansys-temp@list.xansys.org> xansys-temp@list.xansys.org To unsubscribe send an email to <mailto:xansys-temp-leave@list.xansys.org> xansys-temp-leave@list.xansys.org If you are receiving too many emails from XANSYS please consider changing account settings to Digest mode which will send a single email per day. Please send administrative requests such as deletion from XANSYS to <mailto:xansys-mod@tynecomp.co.uk> xansys-mod@tynecomp.co.uk and not to the list
ZF
Zabala, Felix
Thu, Jun 27, 2024 8:48 AM

Hi,

yes, it is not good practice using GoTo statements, but these labels can be used with the /input command. I find it useful. For instance I use that for creating configuration files with different sections headed by such labels and ended by /eof. Macros can read the appropriate section by means of these labels (/input,file,ext,dir,:label)

Best regards,

Félix Zabala Falcó
Meyer Werft GmbH&Co KG
Papenburg (Germany)

-----Ursprüngliche Nachricht-----
Von: Joe Metrisin via Xansys xansys-temp@list.xansys.org
Gesendet: Mittwoch, 26. Juni 2024 21:53
An: Alex Grishin alex.grishin@padtinc.com; XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE Matt@prime-engineer.com; Joe Metrisin Joe.Metrisin@kratosdefense.com
Betreff: [Xansys] Re: [External] - Colon Operator in APDL Macro

I recall from my Fortran days, that GoTo statements were considered a poor programming practice.  APDL is sort of Fortran based, so I think that applies there too.  That's why you don't see it used much.  You can usually accomplish the same thing with the various conditional statements like *if, then, elseif, etc..

Joseph T Metrisin

Structures Lead

Florida Turbine Technologies, Inc a KRATOS Company

1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA

+1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile

mailto:Joe.Metrisin@kratosdefense.com Joe.Metrisin@kratosdefense.com

We are hiring;  https://kratosdefense.com/careers Join the FTT Team in Jupiter, Florida

Visit our website:  https://kratosdefense.com/ https://kratosdefense.com

Confidentiality Note:

The information contained in this transmission and any attachments are proprietary and may be privileged, intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited.  If you received this communication in error, please delete the message and immediately notify the sender via the contact information listed above.


From: Alex Grishin alex.grishin@padtinc.com
Sent: Wednesday, June 26, 2024 3:49 PM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org; Joe Metrisin Joe.Metrisin@kratosdefense.com
Cc: Matthew Ridzon, PE Matt@prime-engineer.com
Subject: RE: [Xansys] Re: [External] - Colon Operator in APDL Macro

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

From the 2024R1 documentation:

Alex Grishin, PhD

Consulting Engineer

PADT, Inc.

www.padtinc.com
<https://urldefense.com/v3/http:/www.padtinc.com;!!KM6X6ZXWXVtZMQ!ZKjEjB
52a4lfhg0rk1t2md0PjidXGcloo1Uwo6TL6V-B9L14d70wwADnTGJaBmVnW8uB6J0FY3D66usK09
n7GEfErJii_NQ$>

480-813-4884 x133

alex.grishin@padtinc.com mailto:alex.grishin@padtinc.com

Simulation - Product Development - Rapid Prototyping

CONFIDENTIALITY NOTICE: This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain confidential and/or privileged information.  Unless you are the intended recipient, you are hereby notified that copying, forwarding, printing or otherwise disseminating the information contained in or attached to this e-mail is strictly prohibited. If you are not the intended recipient, please notify the sender by telephone, and immediately and permanently delete and destroy all copies and printouts of this e-mail message and/or attachments.

-----Original Message-----
From: Matthew Ridzon, PE via Xansys <xansys-temp@list.xansys.org mailto:xansys-temp@list.xansys.org >
Sent: Wednesday, June 26, 2024 12:44 PM
To: Joe Metrisin <Joe.Metrisin@kratosdefense.com mailto:Joe.Metrisin@kratosdefense.com >; XANSYS Mailing List Home <xansys-temp@list.xansys.org mailto:xansys-temp@list.xansys.org >
Cc: Matthew Ridzon, PE <Matt@prime-engineer.com mailto:Matt@prime-engineer.com >
Subject: [Xansys] Re: [External] - Colon Operator in APDL Macro

Joesph,

Thanks for this feedback.  Do you know if it's documented anywhere?  Or is it one of those hidden syntaxes that only longtime users know about?

-Matt

-----Original Message-----

From: Joe Metrisin < mailto:Joe.Metrisin@kratosdefense.com
Joe.Metrisin@kratosdefense.com>

Sent: Wednesday, June 26, 2024 3:32 PM

To: XANSYS Mailing List Home < mailto:xansys-temp@list.xansys.org
xansys-temp@list.xansys.org>

Cc: Matthew Ridzon, PE < mailto:Matt@prime-engineer.com Matt@prime-engineer.com>

Subject: RE: [External] - [Xansys] Colon Operator in APDL Macro

I haven't seen that I a long time.  I never used it much, but it's like a GoTo statement in Fortran.  You can label a location in your macro, then based on a conditional statement, tell it to jump to that location.

Sort of like this:

*if, day, eq, Friday, then

*go, bar

*endif

Xx

Xx

Xx

:bar

/input, beer

Joseph T Metrisin

Structures Lead

Florida Turbine Technologies, Inc a KRATOS Company

1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA

+1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile

mailto:Joe.Metrisin@kratosdefense.com Joe.Metrisin@kratosdefense.com

We are hiring; Join the FTT Team in Jupiter, Florida Visit our website:
https://kratosdefense.com https://kratosdefense.com

Confidentiality Note:

The information contained in this transmission and any attachments are

proprietary and may be privileged, intended only for the use of the

individual or entity named above. If the reader of this message is not the

intended recipient, you are hereby notified that any dissemination,

distribution, or copying of this communication is strictly prohibited.  If

you received this communication in error, please delete the message and

immediately notify the sender via the contact information listed above.

-----Original Message-----

From: Matthew Ridzon, PE via Xansys < mailto:xansys-temp@list.xansys.org
xansys-temp@list.xansys.org>

Sent: Wednesday, June 26, 2024 3:05 PM

To:  mailto:xansys-temp@list.xansys.org xansys-temp@list.xansys.org

Cc: Matthew Ridzon, PE < mailto:Matt@prime-engineer.com Matt@prime-engineer.com>

Subject: [External] - [Xansys] Colon Operator in APDL Macro

CAUTION: This email originated from outside of the organization. Do not

click links or open attachments unless you recognize the sender and know the

content is safe.

Folks,

I was recently reviewing an APDL script online.  In the script I noticed the

author had a line that said...

:SRS

and another line that said...

:TRANS

I don't know what the colon operator does in APDL, nor "srs" or "trans."

Has anyone else seen these in APDL scripting?  Can you share a link for the

discussion in Help, or give some explanation?

Matt Ridzon, PE, MSME

Sr. Engineering Analyst

Email      mailto:matt@prime-engineer.com%3cmailto:matt@prime-engineer.com
matt@prime-engineer.commailto:matt@prime-engineer.com

Mail        266 Main St, Burlington, VT 05401

Web

<https://urldefense.com/v3/http:/www.prime-engineer.com;!!KM6X6ZXWXVtZMQ

https://urldefense.com/v3/http://www.prime-engineer.com;!!KM6X6ZXWXVtZMQ

!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJOTv

cij75wTKJiIoR_iTySPp74g$

<https://urldefense.com/v3/http://www.prime-engineer.com/;!!KM6X6ZXWXVtZ

MQ!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJO

Tvcij75wTKJiIoR_iQ3mMuy4Q$ >

[A blue hexagon with white letters  Description automatically generated]

PRIME ENGINEERING LLC

This message (including any attachments) may contain confidential,

proprietary, privileged and/or private information. The information is

intended to be for the use of the individual or entity designated above. If

you are not the intended recipient of this message, please notify the sender

immediately, and delete the message and any attachments. Any disclosure,

reproduction, distribution or other use of this message or any attachments

by an individual or entity other than the intended recipient is prohibited.


Xansys mailing list --  mailto:xansys-temp@list.xansys.org
xansys-temp@list.xansys.org

To unsubscribe send an email to  mailto:xansys-temp-leave@list.xansys.org
xansys-temp-leave@list.xansys.org

If you are receiving too many emails from XANSYS please consider changing account settings to Digest mode which will send a single email per day.

Please send administrative requests such as deletion from XANSYS to mailto:xansys-mod@tynecomp.co.uk xansys-mod@tynecomp.co.uk and not to the list


MEYER WERFT GmbH & Co. KG
Firmensitz: Industriegebiet Süd, 26871 Papenburg
Registergericht: Amtsgericht Osnabrück HRA 204138
Pers. haft. Gesellschaft: Meyer Werft Verwaltungs-GmbH
Firmensitz: 6 B, Route de Trèves, L-2633 Senningerberg
Registergericht: Luxemburg B 193173
Geschäftsführer: Bernard Meyer, Dr. Jan Meyer, Tim Meyer, Thomas Weigend

Hi, yes, it is not good practice using GoTo statements, but these labels can be used with the /input command. I find it useful. For instance I use that for creating configuration files with different sections headed by such labels and ended by /eof. Macros can read the appropriate section by means of these labels (/input,file,ext,dir,:label) Best regards, Félix Zabala Falcó Meyer Werft GmbH&Co KG Papenburg (Germany) -----Ursprüngliche Nachricht----- Von: Joe Metrisin via Xansys <xansys-temp@list.xansys.org> Gesendet: Mittwoch, 26. Juni 2024 21:53 An: Alex Grishin <alex.grishin@padtinc.com>; XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Matthew Ridzon, PE <Matt@prime-engineer.com>; Joe Metrisin <Joe.Metrisin@kratosdefense.com> Betreff: [Xansys] Re: [External] - Colon Operator in APDL Macro I recall from my Fortran days, that GoTo statements were considered a poor programming practice. APDL is sort of Fortran based, so I think that applies there too. That's why you don't see it used much. You can usually accomplish the same thing with the various conditional statements like *if, then, elseif, etc.. Joseph T Metrisin Structures Lead Florida Turbine Technologies, Inc a KRATOS Company 1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA +1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile <mailto:Joe.Metrisin@kratosdefense.com> Joe.Metrisin@kratosdefense.com We are hiring; <https://kratosdefense.com/careers> Join the FTT Team in Jupiter, Florida Visit our website: <https://kratosdefense.com/> https://kratosdefense.com Confidentiality Note: The information contained in this transmission and any attachments are proprietary and may be privileged, intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you received this communication in error, please delete the message and immediately notify the sender via the contact information listed above. _____ From: Alex Grishin <alex.grishin@padtinc.com> Sent: Wednesday, June 26, 2024 3:49 PM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org>; Joe Metrisin <Joe.Metrisin@kratosdefense.com> Cc: Matthew Ridzon, PE <Matt@prime-engineer.com> Subject: RE: [Xansys] Re: [External] - Colon Operator in APDL Macro CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. From the 2024R1 documentation: Alex Grishin, PhD Consulting Engineer PADT, Inc. www.padtinc.com <https://urldefense.com/v3/__http:/www.padtinc.com__;!!KM6X6ZXWXVtZMQ!ZKjEjB 52a4lfhg0rk1t2md0PjidXGcloo1Uwo6TL6V-B9L14d70wwADnTGJaBmVnW8uB6J0FY3D66usK09 n7GEfErJii_NQ$> 480-813-4884 x133 alex.grishin@padtinc.com <mailto:alex.grishin@padtinc.com> Simulation - Product Development - Rapid Prototyping CONFIDENTIALITY NOTICE: This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. Unless you are the intended recipient, you are hereby notified that copying, forwarding, printing or otherwise disseminating the information contained in or attached to this e-mail is strictly prohibited. If you are not the intended recipient, please notify the sender by telephone, and immediately and permanently delete and destroy all copies and printouts of this e-mail message and/or attachments. -----Original Message----- From: Matthew Ridzon, PE via Xansys <xansys-temp@list.xansys.org <mailto:xansys-temp@list.xansys.org> > Sent: Wednesday, June 26, 2024 12:44 PM To: Joe Metrisin <Joe.Metrisin@kratosdefense.com <mailto:Joe.Metrisin@kratosdefense.com> >; XANSYS Mailing List Home <xansys-temp@list.xansys.org <mailto:xansys-temp@list.xansys.org> > Cc: Matthew Ridzon, PE <Matt@prime-engineer.com <mailto:Matt@prime-engineer.com> > Subject: [Xansys] Re: [External] - Colon Operator in APDL Macro Joesph, Thanks for this feedback. Do you know if it's documented anywhere? Or is it one of those hidden syntaxes that only longtime users know about? -Matt -----Original Message----- From: Joe Metrisin < <mailto:Joe.Metrisin@kratosdefense.com> Joe.Metrisin@kratosdefense.com> Sent: Wednesday, June 26, 2024 3:32 PM To: XANSYS Mailing List Home < <mailto:xansys-temp@list.xansys.org> xansys-temp@list.xansys.org> Cc: Matthew Ridzon, PE < <mailto:Matt@prime-engineer.com> Matt@prime-engineer.com> Subject: RE: [External] - [Xansys] Colon Operator in APDL Macro I haven't seen that I a long time. I never used it much, but it's like a GoTo statement in Fortran. You can label a location in your macro, then based on a conditional statement, tell it to jump to that location. Sort of like this: *if, day, eq, Friday, then *go, bar *endif Xx Xx Xx :bar /input, beer Joseph T Metrisin Structures Lead Florida Turbine Technologies, Inc a KRATOS Company 1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA +1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile <mailto:Joe.Metrisin@kratosdefense.com> Joe.Metrisin@kratosdefense.com We are hiring; Join the FTT Team in Jupiter, Florida Visit our website: <https://kratosdefense.com> https://kratosdefense.com Confidentiality Note: The information contained in this transmission and any attachments are proprietary and may be privileged, intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you received this communication in error, please delete the message and immediately notify the sender via the contact information listed above. -----Original Message----- From: Matthew Ridzon, PE via Xansys < <mailto:xansys-temp@list.xansys.org> xansys-temp@list.xansys.org> Sent: Wednesday, June 26, 2024 3:05 PM To: <mailto:xansys-temp@list.xansys.org> xansys-temp@list.xansys.org Cc: Matthew Ridzon, PE < <mailto:Matt@prime-engineer.com> Matt@prime-engineer.com> Subject: [External] - [Xansys] Colon Operator in APDL Macro CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Folks, I was recently reviewing an APDL script online. In the script I noticed the author had a line that said... :SRS and another line that said... :TRANS I don't know what the colon operator does in APDL, nor "srs" or "trans." Has anyone else seen these in APDL scripting? Can you share a link for the discussion in Help, or give some explanation? Matt Ridzon, PE, MSME Sr. Engineering Analyst Email <mailto:matt@prime-engineer.com%3cmailto:matt@prime-engineer.com> matt@prime-engineer.com<mailto:matt@prime-engineer.com> Mail 266 Main St, Burlington, VT 05401 Web <https://urldefense.com/v3/__http:/www.prime-engineer.com__;!!KM6X6ZXWXVtZMQ > https://urldefense.com/v3/__http://www.prime-engineer.com__;!!KM6X6ZXWXVtZMQ !e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJOTv cij75wTKJiIoR_iTySPp74g$ <https://urldefense.com/v3/__http://www.prime-engineer.com/__;!!KM6X6ZXWXVtZ MQ!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJO Tvcij75wTKJiIoR_iQ3mMuy4Q$ > [A blue hexagon with white letters Description automatically generated] PRIME ENGINEERING LLC This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited. _______________________________________________ Xansys mailing list -- <mailto:xansys-temp@list.xansys.org> xansys-temp@list.xansys.org To unsubscribe send an email to <mailto:xansys-temp-leave@list.xansys.org> xansys-temp-leave@list.xansys.org If you are receiving too many emails from XANSYS please consider changing account settings to Digest mode which will send a single email per day. Please send administrative requests such as deletion from XANSYS to <mailto:xansys-mod@tynecomp.co.uk> xansys-mod@tynecomp.co.uk and not to the list ______________________________________________________________________ MEYER WERFT GmbH & Co. KG Firmensitz: Industriegebiet Süd, 26871 Papenburg Registergericht: Amtsgericht Osnabrück HRA 204138 Pers. haft. Gesellschaft: Meyer Werft Verwaltungs-GmbH Firmensitz: 6 B, Route de Trèves, L-2633 Senningerberg Registergericht: Luxemburg B 193173 Geschäftsführer: Bernard Meyer, Dr. Jan Meyer, Tim Meyer, Thomas Weigend
MR
Matthew Ridzon, PE
Thu, Jun 27, 2024 2:35 PM

Thanks everyone!  All of this answered my questions, and I learned something new!

-Matt

-----Original Message-----
From: Zabala, Felix felix.zabala@MeyerWerft.de
Sent: Thursday, June 27, 2024 4:48 AM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org; Alex Grishin alex.grishin@padtinc.com
Cc: Matthew Ridzon, PE Matt@prime-engineer.com; Joe Metrisin Joe.Metrisin@kratosdefense.com
Subject: AW: [Xansys] Re: [External] - Colon Operator in APDL Macro

Hi,

yes, it is not good practice using GoTo statements, but these labels can be used with the /input command. I find it useful. For instance I use that for creating configuration files with different sections headed by such labels and ended by /eof. Macros can read the appropriate section by means of these labels (/input,file,ext,dir,:label)

Best regards,

Félix Zabala Falcó
Meyer Werft GmbH&Co KG
Papenburg (Germany)

-----Ursprüngliche Nachricht-----
Von: Joe Metrisin via Xansys xansys-temp@list.xansys.org
Gesendet: Mittwoch, 26. Juni 2024 21:53
An: Alex Grishin alex.grishin@padtinc.com; XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE Matt@prime-engineer.com; Joe Metrisin Joe.Metrisin@kratosdefense.com
Betreff: [Xansys] Re: [External] - Colon Operator in APDL Macro

I recall from my Fortran days, that GoTo statements were considered a poor programming practice.  APDL is sort of Fortran based, so I think that applies there too.  That's why you don't see it used much.  You can usually accomplish the same thing with the various conditional statements like *if, then, elseif, etc..

Joseph T Metrisin

Structures Lead

Florida Turbine Technologies, Inc a KRATOS Company

1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA

+1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile

mailto:Joe.Metrisin@kratosdefense.com Joe.Metrisin@kratosdefense.com

We are hiring;  https://kratosdefense.com/careers Join the FTT Team in Jupiter, Florida

Visit our website:  https://kratosdefense.com/ https://kratosdefense.com

Confidentiality Note:

The information contained in this transmission and any attachments are proprietary and may be privileged, intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited.  If you received this communication in error, please delete the message and immediately notify the sender via the contact information listed above.


From: Alex Grishin alex.grishin@padtinc.com
Sent: Wednesday, June 26, 2024 3:49 PM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org; Joe Metrisin Joe.Metrisin@kratosdefense.com
Cc: Matthew Ridzon, PE Matt@prime-engineer.com
Subject: RE: [Xansys] Re: [External] - Colon Operator in APDL Macro

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

From the 2024R1 documentation:

Alex Grishin, PhD

Consulting Engineer

PADT, Inc.

www.padtinc.com
<https://urldefense.com/v3/http:/www.padtinc.com;!!KM6X6ZXWXVtZMQ!ZKjEjB
52a4lfhg0rk1t2md0PjidXGcloo1Uwo6TL6V-B9L14d70wwADnTGJaBmVnW8uB6J0FY3D66usK09
n7GEfErJii_NQ$>

480-813-4884 x133

alex.grishin@padtinc.com mailto:alex.grishin@padtinc.com

Simulation - Product Development - Rapid Prototyping

CONFIDENTIALITY NOTICE: This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain confidential and/or privileged information.  Unless you are the intended recipient, you are hereby notified that copying, forwarding, printing or otherwise disseminating the information contained in or attached to this e-mail is strictly prohibited. If you are not the intended recipient, please notify the sender by telephone, and immediately and permanently delete and destroy all copies and printouts of this e-mail message and/or attachments.

-----Original Message-----
From: Matthew Ridzon, PE via Xansys <xansys-temp@list.xansys.org mailto:xansys-temp@list.xansys.org >
Sent: Wednesday, June 26, 2024 12:44 PM
To: Joe Metrisin <Joe.Metrisin@kratosdefense.com mailto:Joe.Metrisin@kratosdefense.com >; XANSYS Mailing List Home <xansys-temp@list.xansys.org mailto:xansys-temp@list.xansys.org >
Cc: Matthew Ridzon, PE <Matt@prime-engineer.com mailto:Matt@prime-engineer.com >
Subject: [Xansys] Re: [External] - Colon Operator in APDL Macro

Joesph,

Thanks for this feedback.  Do you know if it's documented anywhere?  Or is it one of those hidden syntaxes that only longtime users know about?

-Matt

-----Original Message-----

From: Joe Metrisin < mailto:Joe.Metrisin@kratosdefense.com
Joe.Metrisin@kratosdefense.com>

Sent: Wednesday, June 26, 2024 3:32 PM

To: XANSYS Mailing List Home < mailto:xansys-temp@list.xansys.org
xansys-temp@list.xansys.org>

Cc: Matthew Ridzon, PE < mailto:Matt@prime-engineer.com Matt@prime-engineer.com>

Subject: RE: [External] - [Xansys] Colon Operator in APDL Macro

I haven't seen that I a long time.  I never used it much, but it's like a GoTo statement in Fortran.  You can label a location in your macro, then based on a conditional statement, tell it to jump to that location.

Sort of like this:

*if, day, eq, Friday, then

*go, bar

*endif

Xx

Xx

Xx

:bar

/input, beer

Joseph T Metrisin

Structures Lead

Florida Turbine Technologies, Inc a KRATOS Company

1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA

+1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile

mailto:Joe.Metrisin@kratosdefense.com Joe.Metrisin@kratosdefense.com

We are hiring; Join the FTT Team in Jupiter, Florida Visit our website:
https://kratosdefense.com https://kratosdefense.com

Confidentiality Note:

The information contained in this transmission and any attachments are

proprietary and may be privileged, intended only for the use of the

individual or entity named above. If the reader of this message is not the

intended recipient, you are hereby notified that any dissemination,

distribution, or copying of this communication is strictly prohibited.  If

you received this communication in error, please delete the message and

immediately notify the sender via the contact information listed above.

-----Original Message-----

From: Matthew Ridzon, PE via Xansys < mailto:xansys-temp@list.xansys.org
xansys-temp@list.xansys.org>

Sent: Wednesday, June 26, 2024 3:05 PM

To:  mailto:xansys-temp@list.xansys.org xansys-temp@list.xansys.org

Cc: Matthew Ridzon, PE < mailto:Matt@prime-engineer.com Matt@prime-engineer.com>

Subject: [External] - [Xansys] Colon Operator in APDL Macro

CAUTION: This email originated from outside of the organization. Do not

click links or open attachments unless you recognize the sender and know the

content is safe.

Folks,

I was recently reviewing an APDL script online.  In the script I noticed the

author had a line that said...

:SRS

and another line that said...

:TRANS

I don't know what the colon operator does in APDL, nor "srs" or "trans."

Has anyone else seen these in APDL scripting?  Can you share a link for the

discussion in Help, or give some explanation?

Matt Ridzon, PE, MSME

Sr. Engineering Analyst

Email      mailto:matt@prime-engineer.com%3cmailto:matt@prime-engineer.com
matt@prime-engineer.commailto:matt@prime-engineer.com

Mail        266 Main St, Burlington, VT 05401

Web

<https://urldefense.com/v3/http:/www.prime-engineer.com;!!KM6X6ZXWXVtZMQ

https://urldefense.com/v3/http://www.prime-engineer.com;!!KM6X6ZXWXVtZMQ

!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJOTv

cij75wTKJiIoR_iTySPp74g$

<https://urldefense.com/v3/http://www.prime-engineer.com/;!!KM6X6ZXWXVtZ

MQ!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJO

Tvcij75wTKJiIoR_iQ3mMuy4Q$ >

[A blue hexagon with white letters  Description automatically generated]

PRIME ENGINEERING LLC

This message (including any attachments) may contain confidential,

proprietary, privileged and/or private information. The information is

intended to be for the use of the individual or entity designated above. If

you are not the intended recipient of this message, please notify the sender

immediately, and delete the message and any attachments. Any disclosure,

reproduction, distribution or other use of this message or any attachments

by an individual or entity other than the intended recipient is prohibited.


Xansys mailing list --  mailto:xansys-temp@list.xansys.org
xansys-temp@list.xansys.org

To unsubscribe send an email to  mailto:xansys-temp-leave@list.xansys.org
xansys-temp-leave@list.xansys.org

If you are receiving too many emails from XANSYS please consider changing account settings to Digest mode which will send a single email per day.

Please send administrative requests such as deletion from XANSYS to mailto:xansys-mod@tynecomp.co.uk xansys-mod@tynecomp.co.uk and not to the list


MEYER WERFT GmbH & Co. KG
Firmensitz: Industriegebiet Süd, 26871 Papenburg
Registergericht: Amtsgericht Osnabrück HRA 204138 Pers. haft. Gesellschaft: Meyer Werft Verwaltungs-GmbH
Firmensitz: 6 B, Route de Trèves, L-2633 Senningerberg
Registergericht: Luxemburg B 193173
Geschäftsführer: Bernard Meyer, Dr. Jan Meyer, Tim Meyer, Thomas Weigend

Thanks everyone! All of this answered my questions, and I learned something new! -Matt -----Original Message----- From: Zabala, Felix <felix.zabala@MeyerWerft.de> Sent: Thursday, June 27, 2024 4:48 AM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org>; Alex Grishin <alex.grishin@padtinc.com> Cc: Matthew Ridzon, PE <Matt@prime-engineer.com>; Joe Metrisin <Joe.Metrisin@kratosdefense.com> Subject: AW: [Xansys] Re: [External] - Colon Operator in APDL Macro Hi, yes, it is not good practice using GoTo statements, but these labels can be used with the /input command. I find it useful. For instance I use that for creating configuration files with different sections headed by such labels and ended by /eof. Macros can read the appropriate section by means of these labels (/input,file,ext,dir,:label) Best regards, Félix Zabala Falcó Meyer Werft GmbH&Co KG Papenburg (Germany) -----Ursprüngliche Nachricht----- Von: Joe Metrisin via Xansys <xansys-temp@list.xansys.org> Gesendet: Mittwoch, 26. Juni 2024 21:53 An: Alex Grishin <alex.grishin@padtinc.com>; XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Matthew Ridzon, PE <Matt@prime-engineer.com>; Joe Metrisin <Joe.Metrisin@kratosdefense.com> Betreff: [Xansys] Re: [External] - Colon Operator in APDL Macro I recall from my Fortran days, that GoTo statements were considered a poor programming practice. APDL is sort of Fortran based, so I think that applies there too. That's why you don't see it used much. You can usually accomplish the same thing with the various conditional statements like *if, then, elseif, etc.. Joseph T Metrisin Structures Lead Florida Turbine Technologies, Inc a KRATOS Company 1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA +1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile <mailto:Joe.Metrisin@kratosdefense.com> Joe.Metrisin@kratosdefense.com We are hiring; <https://kratosdefense.com/careers> Join the FTT Team in Jupiter, Florida Visit our website: <https://kratosdefense.com/> https://kratosdefense.com Confidentiality Note: The information contained in this transmission and any attachments are proprietary and may be privileged, intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you received this communication in error, please delete the message and immediately notify the sender via the contact information listed above. _____ From: Alex Grishin <alex.grishin@padtinc.com> Sent: Wednesday, June 26, 2024 3:49 PM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org>; Joe Metrisin <Joe.Metrisin@kratosdefense.com> Cc: Matthew Ridzon, PE <Matt@prime-engineer.com> Subject: RE: [Xansys] Re: [External] - Colon Operator in APDL Macro CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. From the 2024R1 documentation: Alex Grishin, PhD Consulting Engineer PADT, Inc. www.padtinc.com <https://urldefense.com/v3/__http:/www.padtinc.com__;!!KM6X6ZXWXVtZMQ!ZKjEjB 52a4lfhg0rk1t2md0PjidXGcloo1Uwo6TL6V-B9L14d70wwADnTGJaBmVnW8uB6J0FY3D66usK09 n7GEfErJii_NQ$> 480-813-4884 x133 alex.grishin@padtinc.com <mailto:alex.grishin@padtinc.com> Simulation - Product Development - Rapid Prototyping CONFIDENTIALITY NOTICE: This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. Unless you are the intended recipient, you are hereby notified that copying, forwarding, printing or otherwise disseminating the information contained in or attached to this e-mail is strictly prohibited. If you are not the intended recipient, please notify the sender by telephone, and immediately and permanently delete and destroy all copies and printouts of this e-mail message and/or attachments. -----Original Message----- From: Matthew Ridzon, PE via Xansys <xansys-temp@list.xansys.org <mailto:xansys-temp@list.xansys.org> > Sent: Wednesday, June 26, 2024 12:44 PM To: Joe Metrisin <Joe.Metrisin@kratosdefense.com <mailto:Joe.Metrisin@kratosdefense.com> >; XANSYS Mailing List Home <xansys-temp@list.xansys.org <mailto:xansys-temp@list.xansys.org> > Cc: Matthew Ridzon, PE <Matt@prime-engineer.com <mailto:Matt@prime-engineer.com> > Subject: [Xansys] Re: [External] - Colon Operator in APDL Macro Joesph, Thanks for this feedback. Do you know if it's documented anywhere? Or is it one of those hidden syntaxes that only longtime users know about? -Matt -----Original Message----- From: Joe Metrisin < <mailto:Joe.Metrisin@kratosdefense.com> Joe.Metrisin@kratosdefense.com> Sent: Wednesday, June 26, 2024 3:32 PM To: XANSYS Mailing List Home < <mailto:xansys-temp@list.xansys.org> xansys-temp@list.xansys.org> Cc: Matthew Ridzon, PE < <mailto:Matt@prime-engineer.com> Matt@prime-engineer.com> Subject: RE: [External] - [Xansys] Colon Operator in APDL Macro I haven't seen that I a long time. I never used it much, but it's like a GoTo statement in Fortran. You can label a location in your macro, then based on a conditional statement, tell it to jump to that location. Sort of like this: *if, day, eq, Friday, then *go, bar *endif Xx Xx Xx :bar /input, beer Joseph T Metrisin Structures Lead Florida Turbine Technologies, Inc a KRATOS Company 1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA +1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile <mailto:Joe.Metrisin@kratosdefense.com> Joe.Metrisin@kratosdefense.com We are hiring; Join the FTT Team in Jupiter, Florida Visit our website: <https://kratosdefense.com> https://kratosdefense.com Confidentiality Note: The information contained in this transmission and any attachments are proprietary and may be privileged, intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you received this communication in error, please delete the message and immediately notify the sender via the contact information listed above. -----Original Message----- From: Matthew Ridzon, PE via Xansys < <mailto:xansys-temp@list.xansys.org> xansys-temp@list.xansys.org> Sent: Wednesday, June 26, 2024 3:05 PM To: <mailto:xansys-temp@list.xansys.org> xansys-temp@list.xansys.org Cc: Matthew Ridzon, PE < <mailto:Matt@prime-engineer.com> Matt@prime-engineer.com> Subject: [External] - [Xansys] Colon Operator in APDL Macro CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Folks, I was recently reviewing an APDL script online. In the script I noticed the author had a line that said... :SRS and another line that said... :TRANS I don't know what the colon operator does in APDL, nor "srs" or "trans." Has anyone else seen these in APDL scripting? Can you share a link for the discussion in Help, or give some explanation? Matt Ridzon, PE, MSME Sr. Engineering Analyst Email <mailto:matt@prime-engineer.com%3cmailto:matt@prime-engineer.com> matt@prime-engineer.com<mailto:matt@prime-engineer.com> Mail 266 Main St, Burlington, VT 05401 Web <https://urldefense.com/v3/__http:/www.prime-engineer.com__;!!KM6X6ZXWXVtZMQ > https://urldefense.com/v3/__http://www.prime-engineer.com__;!!KM6X6ZXWXVtZMQ !e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJOTv cij75wTKJiIoR_iTySPp74g$ <https://urldefense.com/v3/__http://www.prime-engineer.com/__;!!KM6X6ZXWXVtZ MQ!e0nTsh0pMcl0wpDPd-oEeln8npHNQJ65kXovgwKd_jxLgg8eTqQQHRAhNPNw4TgIVEziB_jJO Tvcij75wTKJiIoR_iQ3mMuy4Q$ > [A blue hexagon with white letters Description automatically generated] PRIME ENGINEERING LLC This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited. _______________________________________________ Xansys mailing list -- <mailto:xansys-temp@list.xansys.org> xansys-temp@list.xansys.org To unsubscribe send an email to <mailto:xansys-temp-leave@list.xansys.org> xansys-temp-leave@list.xansys.org If you are receiving too many emails from XANSYS please consider changing account settings to Digest mode which will send a single email per day. Please send administrative requests such as deletion from XANSYS to <mailto:xansys-mod@tynecomp.co.uk> xansys-mod@tynecomp.co.uk and not to the list ______________________________________________________________________ MEYER WERFT GmbH & Co. KG Firmensitz: Industriegebiet Süd, 26871 Papenburg Registergericht: Amtsgericht Osnabrück HRA 204138 Pers. haft. Gesellschaft: Meyer Werft Verwaltungs-GmbH Firmensitz: 6 B, Route de Trèves, L-2633 Senningerberg Registergericht: Luxemburg B 193173 Geschäftsführer: Bernard Meyer, Dr. Jan Meyer, Tim Meyer, Thomas Weigend