Phase Graphic Overrides

Phase Graphic Overrides

Anonymous
Not applicable
2,928 Views
17 Replies
Message 1 of 18

Phase Graphic Overrides

Anonymous
Not applicable

Hi,

I'm trying to access the settings for Phasing > Graphic Overrides via API.  Something tells me it can't be done.  Am I wrong? Thanks.

PhasingGraphicOverrides.png

0 Likes
2,929 Views
17 Replies
Replies (17)
Message 2 of 18

rosalesduquej
Alumni
Alumni

Hi Michael,

 

I checked a couple of older posts regarding this. Could something like setting the phase of a view help you with what you are trying to do.

 

http://thebuildingcoder.typepad.com/blog/2014/08/setting-the-phase-of-a-view.html

 

Here is a post from Jeremy Tammik in regards to that.

 

Check it out and let me know.

 

Cheers,

 



Jaime Rosales D.
Sr. Developer Consultant
Twitter | AEC ADN DevBlog
0 Likes
Message 3 of 18

Anonymous
Not applicable

Hi. Thanks, but I'm not trying to set the phase of the view.  I'm trying to change the phasing graphic overrides.  The first tab of Phasing can be accessed through the Phase class (although very little can be done), the second tab can be accessed through the PhaseFilter class.  I'm trying to get to the settings in the third tab. Thanks.

0 Likes
Message 4 of 18

rosalesduquej
Alumni
Alumni

Hi Michael,

 

I see, I checked if this is accessible through the API and I have found that unfortunately it is not at the moment. There is an enhancement request already in our system to be consider and get it available in a future release of the software. Here is the record number so you can ask for update in the future.

 

CF-3036: As an API developer, I would like access to PhasingOverrides and its connection to OverrideGraphicsSettings.

 

Thanks for your collaboration.



Jaime Rosales D.
Sr. Developer Consultant
Twitter | AEC ADN DevBlog
0 Likes
Message 5 of 18

sobon.konrad
Advocate
Advocate

Hi,

 

Jaimie,

 

Was this wish granted in Revit 2016/2017? I would like to get access to Phase Filter overrides as well. 

 

Thanks! 

0 Likes
Message 6 of 18

rosalesduquej
Alumni
Alumni

Hi Konrad,

 

I checked with the development team and unfortunatley, this wish/enhancement did not make it to Revit 2017. To raise priority on this enhancement I will need a couple of things from you. Please connect with me over email so I can obtain the information I need  from you to add it to the wish. 

Once again, I apologize if this is delaying you moving forward in your development. 

 

Email me to jaime.rosales.duque@autodesk.com

 

Thanks,



Jaime Rosales D.
Sr. Developer Consultant
Twitter | AEC ADN DevBlog
0 Likes
Message 7 of 18

Anonymous
Not applicable
I still would like this as well...
0 Likes
Message 8 of 18

rosalesduquej
Alumni
Alumni

Hi Michael, 

 

Please follow instructions above, aka send me an email so I can obtain some info from you. 

Thanks and also thank you for your collaboration and patience. 

 

Cheers,



Jaime Rosales D.
Sr. Developer Consultant
Twitter | AEC ADN DevBlog
0 Likes
Message 9 of 18

kinjal
Enthusiast
Enthusiast

Hey, any update or eta for CF-3036?

Kinjal Desai
Fullstack developer @ Dwaravati
Delivering high quality programmatic boosts for your already beautiful Revit


Message 10 of 18

Anonymous
Not applicable

I am also curious if there are any updates to CF-3036

0 Likes
Message 11 of 18

jeremy_tammik
Alumni
Alumni

Bad news on the status of CF-3036 [As an API developer, I would like access to PhasingOverrides and its connection to OverrideGraphicsSettings], I'm afraid. No business case was ever submitted, no priority registered, no association to any wish list entry in the Revit Idea Station created. Hence, nothing ever happened with it.

 

I just assigned a priority to it and added a mention of your interest expressed here in this thread.

 

If you are interested in driving this functionality (or lack of it) forward, please do so via the Revit Idea Station.

 

Whenever you require new or enhanced functionality, the Revit Idea Station is the place to go.

 

Please search there for a corresponding wish list entry for the suggested functionality and add your comments to it, or create a new one, if none already exists:

 

https://forums.autodesk.com/t5/revit-ideas/idb-p/302

 

Tag it as an API wish:

 

https://forums.autodesk.com/t5/revit-ideas/idb-p/302/tab/most-recent/label-name/api

 

Ensure it gets as many votes as possible to underline its importance to you and the rest of the developer community.

 

The Revit Idea Station is currently one of the main driving input forces for Revit API enhancements.

 

The Revit development team look there. Your comment here in the discussion forum might be overlooked.

 

Thank you!

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 12 of 18

PieterL_TM
Advocate
Advocate

This question was first asked in 2015, it's 2023 now and now I need it. Is there any update on whether we might be seeing this in the future?

0 Likes
Message 13 of 18

jeremy_tammik
Alumni
Alumni

Have you checked the roadmap and the idea station? Those are the go-to places for such a request.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 14 of 18

jeremy_tammik
Alumni
Alumni

I asked the development team for a status update on the internal issue CF-3036...

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 15 of 18

testYZN2F
Observer
Observer

Any update on accessing Phase graphics Overrides using Revit API? 
@jeremy_tammik 

Message 16 of 18

Rui_Tang-Symetri_USA
Participant
Participant

Hi all and especially @jeremy_tammik :

 

We have run into a scenario that a client needs to get a copy of OverrideGraphicsSettings based on the 

ElementOnPhaseStatus, essentially a method signature of:

 

View.GetPhasingGraphicsOverride(ElementOnPhaseStatus)

 

EDIT:

I have found a solution to this (however, somewhat convoluted):

Snoop the Database for GraphicStyle elements that match the names of the ElementOnPhaseStatus - Existing, Demolished, New, Temporary - then inspect the GraphicsStyleCategory to get GraphicOverrides.

0 Likes
Message 17 of 18

jeremy_tammik
Alumni
Alumni

Well done! Congratulations and thank you for sharing.

  

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

Rui_Tang-Symetri_USA
Participant
Participant

Additionally, @jeremy_tammik , the info accessible from there is limited, only Line Weight, Line Color, Material etc. are accessible but Pattern Foreground/Background Overrides and Halftones are not accessible. I even tried View.GetCategoryOverride(GraphicStyleCategory)/GetElementOverride(GraphicStyle) but the OverrideGraphicsSettings object returned contains incorrect values (seems default). So I wonder where we can correctly get the OverrideGraphicsSettings object in regards to different ElementOnPhaseStatus
.


Thank you.