Generate Axonometric (3D Views) with Section Box for all Rooms


#1

This is a work in progress (dyn) combining information I’ve found from other forum post. Create Section Box for 3D Views, Create Room Data Sheets…, Create Section Box from Bounding Box The problem I’m having is that the Python Script BBtoSect only seems to work on the active 3D view. Is there a way to step thru (all) the views as they’re created? Thanks!


#2

Hello.

You are using the ActiveView property.


#3

I noticed that as well… hence the post. I’m not a programmer… I am not asking for the exact solution… just asking for help in the right direction :o) I’ve experimented with this for a few days and have run into road blocks using others solutions. Konrad’s solution here doesn’t seem to work with the 0.9 version?

Followup question: What can I use instead of ActiveView?


#4

Actually none here is a programmer, i think. So please don’t use the “I’m not a programmer” argument. You already have all you need. Take those two lists of items and just iterate through them.

https://docs.python.org/2/reference/compound_stmts.html#the-for-statement

https://docs.python.org/2/library/functions.html#zip


#5

No one here is a programmer? You’re kidding, right? No reason to get snarky.

David - I modified a Python script recently to do something similar – the iterate through multiple views part anyway.

for view in views:

rView = view

for item in items:

rView.SetElementOverrides(item.Id, gSettings)


#6

Actually none here is a programmer, i think.” No, i’m not kidding; i don’t like the “I’m not a programmer” (do my job) argument.

"Take those two lists of items and just iterate through them.

https://docs.python.org/2/reference/compound_stmts.html#the-for-statement

https://docs.python.org/2/library/functions.html#zip"