lugnut Posted August 23, 2023 Share Posted August 23, 2023 Trying to get a string attribute from the selected workitem to evaluate as a parameter. Integers and floats work with the @attrib_name syntax, but it seems strings do not? I've tried backticks, evals(), combinations of quotes - no joy. I've had to do a workaround where I interpret integers as strings later but that seems so unnecessary. What am I missing? I've included a very simple hip. Thanks in advance! pdg_str_attrib.hiplc Quote Link to comment Share on other sites More sharing options...
Jesper Rahlff Posted August 23, 2023 Share Posted August 23, 2023 Not sure if this is what you are trying to do, but a string attribute from TOPS will evaluate properly with backticks. pdg_str_attrib_example1.hiplc Quote Link to comment Share on other sites More sharing options...
lugnut Posted August 24, 2023 Author Share Posted August 24, 2023 (edited) Ah thanks. It just threw me off because it didn't turn green, but I guess the backticks cause another layer of indirection so that wouldn't happen Edited August 24, 2023 by lugnut mispelling Quote Link to comment Share on other sites More sharing options...
Fenolis Posted August 25, 2023 Share Posted August 25, 2023 (edited) You can MMB on string parameter Labels to display the evaluated result of expressions and variable shorthand. Edited August 25, 2023 by Fenolis Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.