I would like to use PerspectiveView node to create 4 cameras at each building elevation/side. The idea is to draw a circle around the geometry, create 4 points on it and get four 3D views. The only input from the user is to draw the circle, however the ‘element’ input requires some kind of geometry/bounding box to be used there. Could the first circle be transformed in a way that it’s suitable for this input in PerspectiveView node?
Thank you, I got that part ready. I am naming the created views, but result is not what I expect:
It feeds the proper name to the last node, but in result, there is just random name assigned. Why this happen?
which package do you use ? - PerspectiveView.ByEyePointAndTarget
The latest one, package 2.6.1…
Yes, it’s in the default package
Coming back to my issue, is the naming pattern a normal behavior or is this a bug?
I meant the view names with random numbers instead of
3D View 1,
3D View 2,
3D View 3,
3D View 4
i see you comine Integers(Numbers) with Strings… you should regulate your input…
you can attach a codeblock with x+""
and than enter your name values!
whats your element input? can check ther the uniqueID?
it’s a boundingbox of the revit modelcurve
Create Cameras.dyn (62.3 KB)
it will always add id to the views
I have almost finished with this task, the help from this group is huge!!!
I have other issue with the graph, I think it is the chain order that needs to be adjusted, as I have to run the script twice to create the final sheet with the viewports. When testing it I notice that the Crop View is sometimes read only. When the script runs for the first time in the project, it is fine, but when I delete some created views (1-3, not all of them) and script creates them again they are not cropped, the property is locked.
Have a look at the code:
1.Create 3D views and place on sheet v.1.0.dyn (102.0 KB)
Hello, have you tried Long, on the concerned node
cordially
christian.stan
on which?