ObjectTable.ModifyAttributes Method (Guid, ObjectAttributes, Boolean)

ObjectTableModifyAttributes Method (Guid, ObjectAttributes, Boolean)

Modifies an object's attributes. Cannot be used to change object id.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public bool ModifyAttributes(
	Guid objectId,
	ObjectAttributes newAttributes,
	bool quiet
)
Public Function ModifyAttributes ( 
	objectId As Guid,
	newAttributes As ObjectAttributes,
	quiet As Boolean
) As Boolean

Parameters

objectId
Type: SystemGuid
Id of object to modify.
newAttributes
Type: Rhino.DocObjectsObjectAttributes
new attributes.
quiet
Type: SystemBoolean
if true, then warning message boxes are disabled.

Return Value

Type: Boolean
true if successful.
See Also