<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Network view mode error in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485316#M3941</link>
    <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://answers.flexsim.com/users/207/anthony.j.html" nodeid="207"&gt;@anthony.johnson&lt;/A&gt;! Will put this in my snippet book &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jun 2016 10:33:31 GMT</pubDate>
    <dc:creator>mischa_spelt</dc:creator>
    <dc:date>2016-06-08T10:33:31Z</dc:date>
    <item>
      <title>Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485299#M3924</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have several networks in my very large model. One for operators at Landside Receiving, which I set to invisible. Then I created another one for trucks at the docks. When I wanted to toggle the view mode, I can change all to Non visible or just edges, but if I select to see all nodes for further editing I get the below error message and the entire graphics of the model gets messed-up, so I cannot save it like this nor edit the network any more. &lt;/P&gt;
&lt;P&gt;The error occurs for the network node NN305 that remained visible to toggle the view modes of the operator network.&lt;/P&gt;
&lt;P&gt;Could you please tell me, whether this can be fixed (don't want to delete all network nodes from the tree and start again) and what I maybe done wrong to avoid this mistake in the future? It cannot be a graphics card issue as it happens on both my laptops... &lt;/P&gt;
&lt;P&gt;Thanks for your help,&lt;/P&gt;
&lt;P&gt;Kat&lt;/P&gt;
&lt;PRE&gt;exception: Exception Caught in NetworkNode::buildMesh() object: /GF/LANDSIDE_RECEIVING/NN305
exception: Exception Caught in NetworkNode::onPreDraw(treenode view) object: /GF/LANDSIDE_RECEIVING/NN305
exception: Exception Caught in ObjectFunction233__project_library_FlexSimEventHandler_behaviour_eventfunctions_OnPreDraw object: /GF/LANDSIDE_RECEIVING/NN305 class: /GF/LANDSIDE_RECEIVING/NN305

exception: Exception caught in TreeNode::receivemessage()
exception: EditorSpatial::prepareDraw()
&lt;/PRE&gt;</description>
      <pubDate>Mon, 30 May 2016 09:24:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485299#M3924</guid>
      <dc:creator>katharina_albert</dc:creator>
      <dc:date>2016-05-30T09:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485300#M3925</link>
      <description>&lt;P&gt;I don't know if it could help, but you could set them again to visible with this script&lt;/P&gt;&lt;PRE&gt;forobjecttreeunder(model())
	if (isclasstype(a,CLASSTYPE_NETWORKNODE))
		setvarnum(a,"showmode",1);
&lt;/PRE&gt;&lt;P&gt;then destroy and create again the NN305&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 10:02:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485300#M3925</guid>
      <dc:creator>marco_baccalaro</dc:creator>
      <dc:date>2016-05-30T10:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485301#M3926</link>
      <description>&lt;P&gt;Thanks a lot Marco, unfortunately when I execute the script the same happens as if I toggle the view mode in the 3D model. If I first delete the node and then execute the script, the same exception appears for NN306... any other ideas? Thanks, Kat&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 13:05:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485301#M3926</guid>
      <dc:creator>katharina_albert</dc:creator>
      <dc:date>2016-05-30T13:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485302#M3927</link>
      <description>&lt;P&gt;I would only try to destroy and redo the nodes that were connected to the NN305 and maybe to do View &amp;gt; Open Default Workspace cause it's a draw problem.
&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 13:49:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485302#M3927</guid>
      <dc:creator>marco_baccalaro</dc:creator>
      <dc:date>2016-05-30T13:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485303#M3928</link>
      <description>&lt;P&gt;Ok tried the Default Workspace and also deleted NN305 and all nodes connected to it, then executed the script, still same error, it just jumps to the next node. I hope I really don't have to delete the entire network and re-do it... it also happens on both of my laptops with different graphic cards... Thanks a lot for your help Marco, appreciate it.&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 14:04:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485303#M3928</guid>
      <dc:creator>katharina_albert</dc:creator>
      <dc:date>2016-05-30T14:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485304#M3929</link>
      <description>&lt;P&gt;Is there any way you could attach your model? Or at least your model where you've removed everything except the network nodes?&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 16:07:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485304#M3929</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2016-05-31T16:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485305#M3930</link>
      <description>&lt;P&gt;No, I cannot publish it and removing everything but the network will take a lot of effort as well. I think I will email it to the support team directly. Once we figured out what went wrong, we will post it here.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 08:46:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485305#M3930</guid>
      <dc:creator>katharina_albert</dc:creator>
      <dc:date>2016-06-01T08:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485306#M3931</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/502/katharina.a.html" nodeid="502"&gt;@Katharina Albert&lt;/A&gt;. Please let me know if you find a solution, because I'm running into the same issue at the moment.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 12:19:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485306#M3931</guid>
      <dc:creator>mischa_spelt</dc:creator>
      <dc:date>2016-06-01T12:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485307#M3932</link>
      <description>&lt;P&gt;You can run this script to delete all objects except network nodes:&lt;/P&gt;&lt;PRE&gt;for(int i = 2; i &amp;lt;= content(model()); i++) {
	treenode obj = rank(model(), i);
	
	if(isclasstype(obj, "NetworkNode") || isclasstype(obj, "NetworkNavigator"))
		continue;
		
	destroyobject(obj);
	i--;
}

&lt;/PRE&gt;&lt;P&gt;Or you can post a private question and only the support team will be able to see the post.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 13:49:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485307#M3932</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2016-06-01T13:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485308#M3933</link>
      <description>&lt;P&gt;Are your laptops using Nvidia Quadro graphics cards?&lt;/P&gt;&lt;P&gt;If so, try opening your NVIDIA control panel and change 3D settings to "3D App - Game Development."&lt;/P&gt;&lt;P&gt;Even though it happens on both of your laptops, it may still be a graphics card issue. Does it still happen if you put FlexSim into graphics Compatibility Mode?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 15:27:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485308#M3933</guid>
      <dc:creator>philboboADSK</dc:creator>
      <dc:date>2016-06-01T15:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485309#M3934</link>
      <description>&lt;P&gt;This and other graphics-related suggestions are outlined in &lt;A href="https://answers.flexsim.com/content/kbentry/11/graphics-compatibility-common-problems-and-solutio.html"&gt;this article&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;It is certainly possible that both laptops have graphics issues that could be resolved with one or more of the suggestions described there.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 15:47:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485309#M3934</guid>
      <dc:creator>Ben_WilsonADSK</dc:creator>
      <dc:date>2016-06-01T15:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485310#M3935</link>
      <description>&lt;P&gt;Hi Phil and Ben, I have two Dell laptops, on this one XPS 9Q33 I have only Intel HD 4400 onboard graphics card. Shadows off and even in Compatibility mode the same issue. My other laptop has Nvidia card, I am currently travelling and cannot test other settings with that. I have been working on both laptops with Flexsim for years and this is the first time this issue occurs. I am running the latest Flexsim version, the model was created under 7.7 and then upgraded to 2016.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 17:53:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485310#M3935</guid>
      <dc:creator>katharina_albert</dc:creator>
      <dc:date>2016-06-01T17:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485311#M3936</link>
      <description>&lt;P&gt;You are going to need to get us your model so that we can figure out what is going on.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 18:19:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485311#M3936</guid>
      <dc:creator>philboboADSK</dc:creator>
      <dc:date>2016-06-01T18:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485312#M3937</link>
      <description>&lt;P&gt;Hey everyone, I've sent the model to support and apparently some pointers were corrupted in my model, which they could fix. &lt;A rel="user" href="https://answers.flexsim.com/users/469/mischa.s.html" nodeid="469"&gt;@Mischa Spelt&lt;/A&gt; could you fix your problem with the other suggested methods or can you remember the last steps that led to the problem for them to replicate the issue?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 07:36:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485312#M3937</guid>
      <dc:creator>katharina_albert</dc:creator>
      <dc:date>2016-06-07T07:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485313#M3938</link>
      <description>&lt;P&gt;Hi Katharina. Sadly the other methods didn't work for me either, and I cannot remember the steps (I added the network in an early version of the model, then went on to do many other things, and when I tried to make it visible again I ran into the problem). I ended up just removing the whole network and adding it back in. I'm keeping it visible now, and hope it will keep working. Thanks for the reply though!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 07:46:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485313#M3938</guid>
      <dc:creator>mischa_spelt</dc:creator>
      <dc:date>2016-06-07T07:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485314#M3939</link>
      <description>&lt;P&gt;Ok, so it happened same way as to me, so maybe when we upgraded the model to the latest version, something went wrong with the network...&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 07:56:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485314#M3939</guid>
      <dc:creator>katharina_albert</dc:creator>
      <dc:date>2016-06-07T07:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485315#M3940</link>
      <description>&lt;P&gt;Mischa, I used the following script to fix the corruption. I've added a mechanism to automatically fix this issue going forward.&lt;/P&gt;&lt;PRE&gt;forobjecttreeunder(model()) {
	if (isclasstype(a, "NetworkNode")) {
		for (int i = 1; i &amp;lt;= content(connectionsout(a)); i++) {
			setsdtvalue(rank(connectionsout(a), i), "netNode", a);
		}
	}
}&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Jun 2016 17:02:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485315#M3940</guid>
      <dc:creator>anthony_johnsonT83CM</dc:creator>
      <dc:date>2016-06-07T17:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Network view mode error</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485316#M3941</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://answers.flexsim.com/users/207/anthony.j.html" nodeid="207"&gt;@anthony.johnson&lt;/A&gt;! Will put this in my snippet book &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 10:33:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/network-view-mode-error/m-p/13485316#M3941</guid>
      <dc:creator>mischa_spelt</dc:creator>
      <dc:date>2016-06-08T10:33:31Z</dc:date>
    </item>
  </channel>
</rss>

