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

Getting the pre 2015 skies back

1 REPLY 1
Reply
Message 1 of 2
neilyj666
424 Views, 1 Reply

Getting the pre 2015 skies back

I created a support case regarding the old skies (dawn, noon etc etc) and they are not available directly as they were in  2014 but can be "kind of used".

 

The workaround is as follows - kudos to Nicolas Menu at Autodesk Support for this:

 

There is a workaround to get your old skies back...

Open your model, open the JavaScript console, copy, paste and run this little script...

Setting the SykType to a value of 1 and knowing the correct SkyTextureFileName will switch to the other old sky types; a value of 2 sets the old default sky and s value of 0 will completely remove the sky. After changing the parameter SkyType you have to close and re-open your model, but the script does this for you.

 

var citymodel = app.ActiveModel;

citymodel.SkyType=3;

citymodel.SkyTextureFileName="";

var modelUri=citymodel.ModelUri;

app.CloseDocument();

app.OpenDocument(modelUri);

 

 

 Example to display your model with the Dawn sky
(located in : C:\ProgramData\Autodesk\InfraWorks\Resources\materials\Sky)

var citymodel = app.ActiveModel;

citymodel.SkyType=1;

citymodel.SkyTextureFileName=":/Resources/Dawn.dds";

var modelUri=citymodel.ModelUri;

app.CloseDocument();

app.OpenDocument(modelUri);

neilyj (No connection with Autodesk other than using the products in the real world)
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


AEC Collection 2024 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
1 REPLY 1
Message 2 of 2
Karsten.Saenger
in reply to: neilyj666

Hi @neilyj666

 

the procedure you are talking of is also described in the Autodesk Knowledge Articles:

http://knowledge.autodesk.com/article/How-to-get-InfraWorks-2014-Sky-Options-and-styles-in-2015

 

With the introduction of Design Views in InfraWorks 2017.2 the workaround via JavaScript does not work anymore.

If you want the old sky option back I suggest to post it on the InfraWorks Ideas pages: http://forums.autodesk.com/t5/infraworks-360-ideas/idb-p/129/tab/most-recent

 

Regards,

Karsten.



Karsten Saenger

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

Post to forums  

Rail Community


Autodesk Design & Make Report