@ivelin.peychev wrote:
Hi,
Can I get an example using:
sc.doc.ActiveDoc.Objects.ModifyAttributes()
Help on built-in function ModifyAttributes
| ModifyAttributes(…)
| ModifyAttributes(self: ObjectTable, objectId: Guid, newAttributes: ObjectAttributes, quiet: bool) -> bool
|
| Modifies an object’s attributes. Cannot be used to change object id.
|
| objectId: Id of object to modify.
| newAttributes: new attributes.
| quiet: if true, then warning message boxes are disabled.
| Returns: true if successful.
| ModifyAttributes(self: ObjectTable, obj: RhinoObject, newAttributes: ObjectAttributes, quiet: bool) -> bool
|
| Modifies an object’s attributes. Cannot be used to change object id.
|
| obj: object to modify.
| newAttributes: new attributes.
| quiet: if true, then warning message boxes are disabled.
| Returns: true if successful.
| ModifyAttributes(self: ObjectTable, objref: ObjRef, newAttributes: ObjectAttributes, quiet: bool) -> bool
|
| Modifies an object’s attributes. Cannot be used to change object id.
|
| objref: reference to object to modify.
| newAttributes: new attributes.
| quiet: if true, then warning message boxes are disabled.
| Returns: true if successful.
|Where is this
self: ObjectTablecoming from?
Posts: 20
Participants: 3