Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 66664

Re: draw curve in ActiveUIDocument.Document using IList

$
0
0

Dear Dirk,

 

Yes.

 

You can create a model curve or a detail curve, and both reside on a sketch plane.

 

If you care about efficiency, you might care to reuse the sketch plane as much as possible.

 

Note that some existing samples create a new sketch plane for each individual curve, which is not a nice thing to do.

 

The Building Coder provides a number of samples, e.g.:

 

 

Also included in The Building Coder samples:

 

https://github.com/jeremytammik/the_building_coder_samples

 

https://github.com/jeremytammik/the_building_coder_samples/blob/master/BuildingCoder/BuildingCoder/CmdDetailCurves.cs

 

https://github.com/jeremytammik/the_building_coder_samples/blob/master/BuildingCoder/BuildingCoder/Creator.cs

 

Cheers,

 

Jeremy

 


Viewing all articles
Browse latest Browse all 66664

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>