All views was incorrect to the center of sheet


![image|690x488](upload://deDyBqbkLpLpTyizb5DnrfQ3647.png

Help me please!!!
I make a Dyn for creat and place views on sheets, but after run all views was incorrect to the center of sheet like picture. Please tell me way to fix that.
Thanks!

1 Like

Can you repost your graph image with the node previews turned on so we can actually see what’s going on? That way we can give specific direction on what to change.

1 Like

yes…Can you see it :sweat: :sweat:

There are more ways to do this.
This is one of the ways:

1 Like

image

This is what I meant by “node preview”, so that we could see the data you’re passing through the nodes, but as @jw.vanasselt pointed out, you’ll want to use a node that takes a point location for placing your view. The node you’re using places the view at a default location, which I would guess is at the origin, not the center of your titleblock.

3 Likes


Is that?
I’m a newbie, so sorry :sweat:

That is because you have a - value as index:
You ask him to get a index that not exist.

image

2 Likes

with index = -1, it don’t create sheet but all sheet was created, views was incorrect to the center :frowning: I think the NODE take wrong base point to place views on sheets

I think it place to the origin point, So how can I make them place to the center point? :disappointed_relieved:

1 Like

Can you share you’re script, excel and rvt file?

Try researching some more on the forums. There are a ton of posts like this one. The idea is that you have to get the dimensions of the viewport you’re placing and the location of the title block. Then you can calculate the offset needed to get the viewport centered in the title block.

1 Like