MENU
Ask a Question
Search
LogIn
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
All community
This category
This board
Knowledge
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Close X
The PTC Community email address has changed to
community-mailer@ptc.com
.
Learn more.
Community
PLM
Windchill Discussions
Calculated attribute formula does not work. C14971...
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Calculated attribute formula does not work. C14971738
prshukla
15-Moonstone
Aug 08, 2019
12:13 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Notify Moderator
Aug 08, 2019
12:13 PM
Calculated attribute formula does not work. C14971738
Customer environment information: Windchill 11.0 M030-CPS14
~
Creating Calculated attribute for WTPart
~
Created expression using some maths as workaround is:-
((!isNull(${alternateMass}) ? ${alternateMass} : unit("0 kg")) * 1) == unit("0 kg") ? ${reportedMass} : ${alternateMass} which is executed correctly
~
Expression using condition
:-
((isNull(${alternateMass}) || (${alternateMass} == unit("0 kg"))) ? ${reportedMass} : ${alternateMass}) which is giving some inappropriate output
Labels:
Labels:
Bus_System Administration
All forum topics
Previous Topic
Next Topic
0 REPLIES
0
Post Reply
Announcements
Contact PTC Community Management