Revit API

Valued Contributor
Posts: 51
Registered: ‎12-22-2010
Message 1 of 3 (131 Views)
Accepted Solution

2D aspects of Gridlines

131 Views, 2 Replies
12-03-2013 07:40 PM

I want to try and write a quick little add-in that will allow me to select a whole row of grids and flip the bubble to the other end of the gridline in the view.


I can access the GRID_BUBBLE_END_1 and GRID_BUBBLE_END_2 parameters but these are related to the Grid Type default settings and not the view specific 2D elements.


I have found myself having to do this manually many times, so as I learn the Revit API I thought that this would be a nice easy exercise to get me going.


I guess if this also falls into the same category of accessing the Elbow control, its handle element and the 2D extents




I have tried using the SNOOP tool on both the grid and the active view but can't find anything... surely this must be accessible via the API...???


Any help appreciated






ADN Support Specialist
Posts: 321
Registered: ‎03-05-2010
Message 2 of 3 (91 Views)

Re: 2D aspects of Gridlines

12-16-2013 12:55 AM in reply to: Keldar67


Currently Revit didn't expose the API to control the visibility of the bubble for a grid instance. This is a known API request.

The workaround might be you create a new grid type, and let the grid type show the bubble in the other end.

Joe Ye
Developer Technical Services
Autodesk Developer Network
Valued Contributor
Posts: 51
Registered: ‎12-22-2010
Message 3 of 3 (82 Views)

Re: 2D aspects of Gridlines

12-16-2013 12:35 PM in reply to: Joe.Ye
Thanks for the reply Joe...

Hopefully this will emerge in a new version soon...?

I'm not sure I'm keen on the idea of changing a grid type to fix the grids in just one view. This could potentially be screwing up other views in the process, but thanks for the suggestion :smileyhappy:)

Kind Regards


You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community

Revit Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Revit helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Revit