Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi I have a Bevel Defomrer on a simple polygon triangle. Beveling on of the points. Adding some points in the rounding operation compared to the initial polygon. How can i access the resulting points from the Bevel Deformer. Im trying this in a python tag on the deformer:
def main(): op.GetObject().GetPointCount()
Resulting in this error: AttributeError: 'c4d.BaseObject' object has no attribute 'GetPointCount' And that is probably logical as its not a polygon object So how can i access the resulting points the Bevel Deformer produces?
AttributeError: 'c4d.BaseObject' object has no attribute 'GetPointCount'
Regards Bonsak
Hi @bonsak, Try use op.GetObject().GetDeformCache().GetPointCount() in a Python Tag on the Polygon Object. Here you can get more information: GetDeformCache().
op.GetObject().GetDeformCache().GetPointCount()
Python Tag
Polygon Object
Cool! Thanks!
-b
btw, please read the How to Post Questions, Q&A New Functionality. I think it's better to move this question into Cinema 4D Development category
Sorry