Quantcast
Viewing all articles
Browse latest Browse all 5800

Using Overloads with DecomposeAffine

Hi-

I’m relatively new to using python in Rhino and am trying to understand the use of Overloads with Transform.DecomposeAffine. When enter the following:

block = rs.GetObject("",4096)
XForm = rs.BlockInstanceXform(block)
decompAff = Rhino.Geometry.Transform.DecomposeAffine.Overloads[Transform, Vector3d](XForm)
print decompAff    

I get “Message: ‘method_descriptor’ object has no attribute ‘Overloads’” error. Is this the correct syntax? Or is there a step I’m missing?

Thanks,
David

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5800