Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating Reference Plane to put bubbles in it's line

9 REPLIES 9
SOLVED
Reply
Message 1 of 10
diogo.vieiraBCKUL
602 Views, 9 Replies

Creating Reference Plane to put bubbles in it's line

I would like to know if it is possible to create a Reference Plane and then, put all the bubbles that intersect it, in its line.

Following an image of what i mean:

diogovieiraBCKUL_0-1633079270459.png

diogovieiraBCKUL_1-1633079464124.png

Moving those bubbles to the created Reference Plane. Could anyone help?

 

 

9 REPLIES 9
Message 2 of 10

The reference plane seems to be vertical to the view you display. So, when you say, move the bubble to the ref plane, do you in fact mean, move the bubble to the intersection line between the ref plane and the view plane?

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 3 of 10

Do something like this:

diogovieiraBCKUL_0-1633103723329.png

The bubbles moved to the created Reference Plane.

Message 4 of 10

Have you searched this forum for the term 'bubble'? I just did and see several promising-looking hits.

 

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 5 of 10

Yah i did. But i don't tink there is anything that I can use to move them into the Reference Plane.
Message 6 of 10

Do you really mean 'move them to the ref plane, and not move them to the intersection ref plane - view? Isn't the ref plane perpendicular to the view? Sorry for my stupid question, I am not a product user and have no idea what you are trying to achieve.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 7 of 10

I am also sorry. Probably am not explaining myself correctly. Basically, what I am trying to achieve is when the user clicks in the bubble, the bubles moves into that Reference Plane or intersection.
Message 8 of 10

Assuming you're trying to move the bubbles to align to the curve of the reference plane in that view and not on the plane itself, you could use the GetCurvesInView method to retrieve the curve of your reference plane and then move the bubbles to their respective intersection points.

Message 9 of 10

That sounds like a good idea! But how do I get to move the bubbles?
Message 10 of 10

@jeremy_tammik  actually posted an example that explains how to move grid endpoints here. All you need to do is determine which end point has the bubble.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report