Quantcast
Channel: Northwoods Software - Latest topics
Viewing all articles
Browse latest Browse all 7424

setDataProperty() to undefine / remove a property

$
0
0

@Luddy wrote:

Hi,

I’m trying to remove a property from an object that is within my model (associated with a port). I use model.setDataProperty(object, propertyName, newvalue) to update such values, but in this case I wish for propertyName to be removed from object altogether, and to have this modification be subject to the undo machinery. What is the proper way to accomplish this?

Thanks,

-Luddy

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7424

Trending Articles