Moove and rotate section view

Hello, I would like to create a script to automatically move and rotate a section view as I construct pipes. I tried using Element.SetLocation , but I can’t seem to move the view

Hi @recoba3d if i understand right :wink: you could try move by vector or try set location from genius loci for rotate try set rotation from genius loci
Revit_3wZNtiKIgb

1 Like

Hi
Too late as usual, not easy to manage the automatic return
rep 26 avril


t?a/a:-a/a;
cordially
christian.stan

yeah :wink: or just set location

5Sv0IJFirR

1 Like

Hell, sometimes the obvious isn’t obvious when you don’t see it.
Well seen, still lively for a weekend :wink:
have a nice day
cordially
christian.stan

1 Like

I succeeded in moving the cuts :slight_smile: However, now I would like them to move as I build the pipes.

hæhæ, indeed, right over :wink:

1 Like

I was imagining doing it by retrieving the last constructed pipe and moving the cuts to the endpoint. But i don’t know how i can do that.

Hi @recoba3d do you mean something here ?

Revit_3rtia7NsY4

Not really, I would like the cut to follow each end. That the cut moves at each point of the network. Difficult to explain…

Without manually selecting the pipe, but automatically selecting the one I just made to allow me to have well-placed views to continue my modeling.

Dynamo isn’t the right tool for this - look into the Revit API.

Alternatively, work in a 3d view as your elevation and plan are both accessible there. :slight_smile: