Skip to main content Skip to complementary content

ApplyPatches method

Applies a patch to the properties of an object. Allows an update to some of the properties. It is possible to apply a patch to the properties of a generic object, that is not persistent. Such a patch is called a soft patch. In that case, the result of the operation on the properties (add, remove or delete) is not shown when doing GetProperties , and only a GetLayout call shows the result of the operation. Properties that are not persistent are called soft properties. Once the engine session is over, soft properties are cleared. It should not be possible to patch "/qInfo/qId", and it will be forbidden in the near future.

Information note

Soft properties apply only to generic objects.

Parameters

Name Description Mandatory Type
qPatches

Array of patches.

Yes Array of NxPatch
qSoftPatch

If set to true, it means that the properties to be applied are not persistent. The patch is a soft patch. The default value is false.

No Boolean

See also

Add some properties to an object

Remove some properties

Update some properties of an object

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!