Class SetObjectModel
Set an atomic property in the machine model. Make sure to acquire the read/write lock first! Returns true if the field could be updated
Inherited Members
Namespace: DuetAPI.Commands
Assembly: DuetAPI.dll
Syntax
[RequiredPermissions(SbcPermissions.ObjectModelReadWrite)]
public class SetObjectModel : Command<bool>
Remarks
No third-party plugin should use this interface. It is solely intended for interal usage
Properties
PropertyPath
Path to the property in the machine model
Declaration
public string PropertyPath { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Value
String representation of the JSON value to set
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
string |