camera direction

camera direction

Anonymous
Not applicable
972 Views
5 Replies
Message 1 of 6

camera direction

Anonymous
Not applicable

I created a 3d view collecting the view data, but the direction of the camera view created is the opposite, could someone help me?

0 Likes
Accepted solutions (1)
973 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
Accepted solution

Click to place your camera and then click where you would like it to point.  Adjust the extents in the view that is created.

0 Likes
Message 3 of 6

ennujozlagam
Mentor
Mentor

you can try to refer to this LINK and see if helps. thanks





Remember : without the difficult times in your LIFE, you wouldn't be who you are today. Be grateful for the good and the bad. ANGER doesn't solve anything. It builds nothing, but it can destroy everything...
Please mark this response as "Accept as Solution" if it answers your question. Kudos gladly accepted.
0 Likes
Message 4 of 6

MostafaElashmawy
Advisor
Advisor

In the camera view, select the crop box, while selected, goto the plan view from project browser. In that case you will find the camera is visible in the plan view and it's direction is changed. then rotate it.

Mostafa Elashmawy
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 5 of 6

Anonymous
Not applicable

I have this code :

 

/ Camera Creation

 

List<View3D> all3DViews = new FilteredElementCollector(doc).OfClass(typeof(View3D)).Cast<View3D>().ToList();


var collector = new FilteredElementCollector(doc);
var viewFamilyType = collector.OfClass(typeof(ViewFamilyType)).Cast<ViewFamilyType>()
.FirstOrDefault(x => x.ViewFamily == ViewFamily.ThreeDimensional);

using (Transaction ttNew = new Transaction(doc, "camera"))
{
ttNew.Start();
var view3D = View3D.CreatePerspective(
doc, viewFamilyType.Id);

 

view3D.SetOrientation(new ViewOrientation3D(
view.Origin, view.UpDirection,view.ViewDirection));

0 Likes
Message 6 of 6

Anonymous
Not applicable

I have this code:

// Camera Creation

 

List<View3D> all3DViews = new FilteredElementCollector(doc).OfClass(typeof(View3D)).Cast<View3D>().ToList();


var collector = new FilteredElementCollector(doc);
var viewFamilyType = collector.OfClass(typeof(ViewFamilyType)).Cast<ViewFamilyType>()
.FirstOrDefault(x => x.ViewFamily == ViewFamily.ThreeDimensional);

using (Transaction ttNew = new Transaction(doc, "camera"))
{
ttNew.Start();
var view3D = View3D.CreatePerspective(
doc, viewFamilyType.Id);

 

view3D.SetOrientation(new ViewOrientation3D(
view.Origin, view.UpDirection,view.ViewDirection));

0 Likes