How to Create Radial Array with Angle Greater Than 180 Degrees

How to Create Radial Array with Angle Greater Than 180 Degrees

Anonymous
Not applicable
1,560 Views
1 Reply
Message 1 of 2

How to Create Radial Array with Angle Greater Than 180 Degrees

Anonymous
Not applicable

Hello,

 

I am trying to programmatically (Revit 2017 API) create a radial array from a single element (nested family instance) with method RadialArray.Create. Revit draws the array counterclockwise when parameter angle is less than 180 degrees. This is OK. Revit draws the radial array clockwise (instead of counterclockwise) and sets the angle to 360 - angle when parameter angle is equal or greater than 180.0 degrees. And, you are not able to update the angle through API after creating the radial array. This is not OK. In conclusion, I am able to programmatically create only radial arrays where the angle is less than 180 degree.

 

Revit 2017 API seems to behave similar to creating the radial array from Revit user interface.

 

Can I somehow create a radial array from a single nested family instance also for angles between 180 and 360 degrees in Revit 2017 API?

 

The nested family instance has got a fixed position. And, I want to parameterize the number of objects in the radial array. This seems to work fine.

 

 

0 Likes
1,561 Views
1 Reply
Reply (1)
Message 2 of 2

BenoitE&A
Collaborator
Collaborator

Hey,

I have never used your function, but I have much used Transformations (Transform). And it looks like a Central symetry could be the answer to your problem... (270° is 90°+central symetry, 235° is 45°+central symetry, etc..).

So you could apply such a Transform after your first creation.

If you want to create a part of circle by "wiping" your radius around a point you can use similarly a planar symetry...

 

Hope this helps !

Benoit


Benoit FAVRE
CEO of etudes & automates
www.etudesetautomates.com/
0 Likes