THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/10/2010 at 19:24, xxxxxxxx wrote:
Cinema 4D Version: 12
Platform: Windows ;
Language(s) : PYTHON ;
I'm trying to read spline's datas from a VariableTag, and
GetAllHighlevelData() or GetLowLevelDataAddressW() doesn't works
Exemple in a python tag on a spline :
def main() :
obj = op.GetObject()
for t in obj.GetTags() :
if t.GetType()==c4d.Thermite2d :
GetDataCount and GetSize works fine but GetAllHighlevelData get a error :
TypeError: Unknown data of variable tag type.
On 14/10/2010 at 22:12, xxxxxxxx wrote:
the tangent tag is not supported to be read out via Python, but SplineObject.GetTangent(id) might help you.
On 15/10/2010 at 22:12, xxxxxxxx wrote:
SplineObject.GetTangent(id) works fine, and it's easier !