Jump to content

Define a new property for a certain object


Recommended Posts

Hello everyone,

I am trying to add a new property for a Server object, which would be a string. For instance, the property needs to be something like "Type of Patient" (that each server can attend). 

I created a property within the Server's subclass, but it does not work. ¿How can I define a new property for a certain object?

Thanks in advance,

 

Marcel Favereau

Edited by Marcel Favereau
Link to comment
Share on other sites

On 2/22/2024 at 9:04 PM, jzhou said:

Did you create an object-reference type of properties?

Yes, and it did not work for me. The object-reference (server) property created (and named as "exampleVariable") does not appear in the property window of server objects.

 

Edited by Marcel Favereau
Link to comment
Share on other sites

×
×
  • Create New...