Message 1 of 8

Not applicable
06-26-2014
05:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm creating a Revit 2014 plugin that wraps the Sweep command, in particular I need to load a profile that I've created as a family (starting from Metric Profile.rft) into a project, then ask to the user to pick the lines that will become the extrusion path and finally do the sweep. I've read tons of tutorials of how to programmatically create a sweep but all of them creates the SweepProfile by adding new Curves into a CurveArray; no one of them explains how to load a profile from a family and give it to the NewSweep(...) command. I'm quite sure that this can be done and maybe I just can't see the elephant in the room..can someone give me a hit on how to load a profile from a family file? Thank you!
Solved! Go to Solution.