Skip to content

sample to generate Revit polylines from edit2d lines in viewer

License

Notifications You must be signed in to change notification settings

JoaoMartins-callmeJohn/edit2d2da4r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Viewer 2d view to Revit view (using Edit2d extension and Design Automation for Revit)

Platforms .NET License

oAuth2 Data-Management Viewer Design-Automation

Intermediate

Description

This repo contains two projects that you can use to draw modelcurves in your Revit file from Viewer.

Both are under edit2d2da4r folder:

  • DrawPolyLine project is a appbundle that takes the inputs (file, points and Revit view name) and generates a new .rvt file with the curves added. To take advantage of the simpleviewer project you'll need this appbundle available under your APS account.
  • simpleviewer is a project that leverages Simple Viewer Tutorial with a few modifications in order to triger a DA4R workitem from a polyline drawn in Viewer scene using the Edit2D Extension. To make this work, you need to draw the polilyne inside a viewport from a sheet view (and the view from the viewport need to be available as a translated viewable of the input model). Before taking advantage of this sample, you need to create an appbundle with the content from the DrawPolyLine project in this repo (feel free to modify it's logic').

The proccess is just like in the diagram below.

Go through each project folder to get more details.

Diagram

License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.

Written by

João Martins @JooPaulodeOrne2, Forge Partner Development

About

sample to generate Revit polylines from edit2d lines in viewer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published