Lacing in Function

Hello my friends ,

I would like to know about lacing in code block function . If you are convenience please help me to understand this . And if you don’t mind “if” function also i like to know.
Sorry for picture , I am having connection issues.


Thanks a lot , have a great day .

Saw this thread http://dynamobim.org/forums/topic/code-blocks-and-lacing/

Thanks for your suggestion and I really appreciate it . But i did put angle brackets with x,y values.

I think, I should satisfy with this or …

You can use replication guides when you call the function, like this:

2 Likes

Thanks a lot , mate .

follow your thoughts by this:

def cir(x:var[]…[],y:var[]…[],radius:var[]…[])
{
a = x;
b = y;
pt= Point.ByCoordinates(a<1>,b<2>);
aa= Circle.ByCenterPointRadius(pt,radius);
return = aa;
};

:nụ cười: