OIP field values


Joe_Carrick
 Share

Recommended Posts

OIP field values (even calculated or macro derived) can be displayed in a schedule.  However, I'm not able to use them in other locations (text or macros).  Does anyone know how to extract the values of a schedule row/column or the specific OIP field ?

Link to comment
Share on other sites

Posted (edited)

No, I use the folloowing:

  • referenced ? obj =referenced : obj= owner

then all NVPs are per obj.

 

That way my macros always work depending on the context..

Edited by Joe_Carrick
  • Like 1
Link to comment
Share on other sites

I use them in macros: custom_fields below.

 isElevationReference is an OIP but these are hand inputted, are you looking for results from a calc/macro within an OIP?

 

 

if custom_fields["isElevationReference"] == "Y"

...

 

 

or are you talking about something else?

Edited by SHCanada2
Link to comment
Share on other sites

So I have the following in an OIP custom_field named "supported floors"

  • ($TotalFloors + owner.floor_number + 1)
  • which returns:
    • 1 for the top floor
    • 2 for the next floor down
    • etc.
  • those values are displayed correctly in a schedule for the custom_field["supported floors"]

But when I create a user macro for an object and try to get the value of that field it simply returns 

  • ($TotalFloors + owner.floor_number + 1)

 

Edited by Joe_Carrick
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share