Select curve and use point at parameter

I have tried selecting a curve from the family environment using the select model element. I would like to then subdivide using curve.pointatparameter, however, I can’t get it to work.

Here shown on the left is what doesn’t work (selecting a model curve in Revit family environment) and the right side shown using native Dynamo geometry which does work.

pointatparam

Hello Edwin Guerra,

If you want to Divide curve then you have to use Curve.DivideEqually. (see attached example.)

Let me know if you need more clarification.

Thanks,

Ritesh

DivideCurve

Hi Ritesh,

How to use CurveDivideEqually in Code Block?

Thanks.

 

 

Hello Chander Gupta,

You can type variablename.DivideEqually(numberOfDivision) (Ex. curve.DivideEqually(10))

DivideEqually is an instance method which you can access on your curve element.

See below attached image.

Thanks,

Ritesh

CurveDivide