Revit requires views to navigate the model you create. Different view types can be created directly within Python, making repetitive view creation easy. Learn how to create and manipulate different view types.
- [Narrator] Now that we have our…furniture adjusted in the model,…let's start creating our views using Python.…Currently Dynamo does not offer any native node…that we can use to adjust view prop boxes in Revvit.…By utilizing Python we can create…our own node that does this.…Saving time by automating the creation…of room views and cropping them automatically.…In doing this we'll also learn how to…extract and use bounding boxes within Python.…You'll see that I've got the Revvit exercise file open…which is a continuation from the last video,…and I'm currently set to the level one floor plan view.…
In Dynamo, I have the exercise file open for this chapter…and you'll see that we currently have the…level one plan view and a bullion…plugged into ports zero and one in the Python script.…So let's go ahead and open up…the Python script and see what's happening.…Here you'll notice that all the imports…for interacting with the Revvit API have been imported…and the view import has been assigned…to the planned variable and unwrapped.…
Note: This course uses Dynamo 1.3.1 and Revit 2018. For best results, it helps to have the same versions of the software.
- Importing the Dynamo Geometry library
- Defining variables
- Making decisions with conditionals
- Controlling flow with operators
- Defining functions
- Working with external libraries in Python
- Accessing the Revit API with Python
Skill Level Beginner
1. Dynamo and Python
2. Python Basics
3. Working with Libraries
4. Revit API
Next steps2m 18s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.