Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

Cross coordination between 3d geometry and a printed 2d view

ebarMLN7G
Enthusiast
Enthusiast

Cross coordination between 3d geometry and a printed 2d view

ebarMLN7G
Enthusiast
Enthusiast

We are looking for a way to mark a point on a printed 2d view that would correspond to a given 2d/3d coordinate (for example the origin). What would be the easiest way to do it?

 

Thanks!

 

Ehsan 

0 Likes
Reply
413 Views
5 Replies
Replies (5)

jeremytammik
Autodesk
Autodesk

Dear Ehsan,

 

I believe they are called callout points:

 

https://help.autodesk.com/view/RVT/2020/ENU/?query=Callout

 

Cheers,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes

ebarMLN7G
Enthusiast
Enthusiast

Hi Jeremy,

 

Thanks for your answer. Let me explain our issue with a little more detail.

 

We want to dynamically highlight a spot in a 2D view that corresponds to an element (or a coordinate) from the Revit model. Here is a possible scenario:

 

- You have your exported (png, dwg, etc) 2d view open in a third party application. 

- In Revit you select an element.

- In the third party application, you circle out the element that was selected in Revit.

 

So the question is how to identify the corresponding pixels in the exported 2D view for every element.  What do you think is the best way to implement something like that?

 

Thank you again for the help Jeremy!

 

Ehsan

0 Likes

jeremytammik
Autodesk
Autodesk

Interesting question.

 

Lots of approaches possible.

  

It is simple, really. Trivial, in fact. 

 

Just attach the Revit element id or unique id to the pixels.

  

Alternatively, but less perfect, mark the element bounding box with the element id or unique id  in some manner or other.

  

Do you really have to work with stupid pixels?

 

Why not pick a medium with a little bit of intelligence, like SVG?

 

I implemented exactly what you are asking for in SVG in the simplified 2D room editor:

 

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes

ebarMLN7G
Enthusiast
Enthusiast

Any vector based format (e.g. SVG) is definitely preferable. 

 

Oh your example is exactly what we are looking for! Thanks Jeremy. Will update this post if I still had questions after reviewing your RoomEditorApp. 

0 Likes

jeremytammik
Autodesk
Autodesk

Very glad you like it and it helps. 

 

One of my most exciting projects, that was.

 

Part of my pre-Forge series on connecting desktop and cloud:

 

https://github.com/jeremytammik/FireRatingCloud

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes