<?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: ControlPoint creation problem. in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/controlpoint-creation-problem/m-p/13490630#M8183</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 Hi,
 &lt;P&gt;yes, I tried this code in the model that I attached and it works nicely. But when I try it in the bigger model it does nothing, but I has the same structure as I have here. What I do there is to create instance of the Control Point, set his location to be on the path that I want, then I create the connection to the rack and than I applied the code that you posted and it is still without the crossing and the AGV network does not work. &lt;/P&gt;
 &lt;P&gt;Thank you,&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 01 Oct 2021 12:53:21 GMT</pubDate>
    <dc:creator>martin_k5</dc:creator>
    <dc:date>2021-10-01T12:53:21Z</dc:date>
    <item>
      <title>ControlPoint creation problem.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/controlpoint-creation-problem/m-p/13490628#M8181</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.1.4 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;Hi,&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;I am trying to create ControlPoint by code. The thing I want to make is to create ControlPoint in the same way as I can do manually by dragging the controlPoint and placing it exactly on the created Path, in this moment the controlPoint will have little cross inside him (a visual mark that the controlPoint lays exactly on the path). When I do this by code (creating an instance) and setting up the location of that controlPoint to be on the same path, but here the problem occurs. The controlPoint has the y-location as the path does, but the little cross does not appear. Only after moving manually with the controlPoint the little cross appears. I am dealing with this because I am creating the whole model by code and then the AGV network does not work because the controlPoint is not "connected" properly and you need to move it as I said a little and then the cross appears and everything works fine. I have attached the model with script to see what I meant.&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;Did anyone deal with this problem?&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;Thank you.&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/44427-cp-pokus.fsm" target="_blank"&gt;cp_pokus.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 01 Oct 2021 12:13:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/controlpoint-creation-problem/m-p/13490628#M8181</guid>
      <dc:creator>martin_k5</dc:creator>
      <dc:date>2021-10-01T12:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: ControlPoint creation problem.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/controlpoint-creation-problem/m-p/13490629#M8182</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Try to run this line of code after creating the control point, where the first argument is the control point treenode:&lt;/P&gt;&lt;PRE&gt;function_s(controlPoint, "finalizeSpatialChanges");&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 01 Oct 2021 12:18:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/controlpoint-creation-problem/m-p/13490629#M8182</guid>
      <dc:creator>roi_sn</dc:creator>
      <dc:date>2021-10-01T12:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: ControlPoint creation problem.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/controlpoint-creation-problem/m-p/13490630#M8183</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Hi,
 &lt;P&gt;yes, I tried this code in the model that I attached and it works nicely. But when I try it in the bigger model it does nothing, but I has the same structure as I have here. What I do there is to create instance of the Control Point, set his location to be on the path that I want, then I create the connection to the rack and than I applied the code that you posted and it is still without the crossing and the AGV network does not work. &lt;/P&gt;
 &lt;P&gt;Thank you,&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 01 Oct 2021 12:53:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/controlpoint-creation-problem/m-p/13490630#M8183</guid>
      <dc:creator>martin_k5</dc:creator>
      <dc:date>2021-10-01T12:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: ControlPoint creation problem.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/controlpoint-creation-problem/m-p/13490631#M8184</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/32135/martink5.html" nodeid="32135"&gt;@Martin K5&lt;/A&gt; Can you attach a sample model that demonstrates the issue?&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Oct 2021 18:19:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/controlpoint-creation-problem/m-p/13490631#M8184</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2021-10-05T18:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: ControlPoint creation problem.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/controlpoint-creation-problem/m-p/13490632#M8185</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;When I used this line of code in another script (with finding the object that I want to finalize), it does work.&lt;/P&gt;
 &lt;P&gt;Thank you&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Oct 2021 07:42:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/controlpoint-creation-problem/m-p/13490632#M8185</guid>
      <dc:creator>martin_k5</dc:creator>
      <dc:date>2021-10-08T07:42:27Z</dc:date>
    </item>
  </channel>
</rss>

