c4d.BaseTag¶
-
class
c4d.
BaseTag
¶ - A variety of properties can be added to objects using tags.For example, adding smoothing (Phong tag) or preventing an object from being edited accidentally (Protection tag).
Methods Signatures
Initialize a new |
Returns the object where the object is attached. |
|
Returns where the tag was cloned from. |
Inheritance
Parent Class:
Children Classes:
c4d.CustomDataTag
Methods Documentation
-
BaseTag.
__init__
(self, type)¶ Initialize a new
BaseTag
in memory.- Parameters
type (int) – The type of tag. See Tag Types.
-
BaseTag.
GetObject
(self)¶ Returns the object where the object is attached.
- Return type
Optional[c4d.BaseObject]
- Returns
The object or None if it is not attached.
-
BaseTag.
GetOrigin
(self)¶ Returns where the tag was cloned from.
Note
For example, if the tag is on a cache object, it tells you what the original tag was from the original document.
- Return type
Optional[c4d.BaseTag]
- Returns
The origin tag or None.