<?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: How can I create a rpk from a rule file with imported subscripts? in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-a-rpk-from-a-rule-file-with/m-p/465262#M6332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created an example:&lt;/P&gt;&lt;P&gt;MASTER.cga contains a simple start rule and extrudes the lot with attribute 'Height', it also assigns the material color and gets the color variable from DESIGN.cga. Now when I share MASTER.cga as rpk and I test it in the same project it works fine. But when I import the rpk into another CityEngine project and apply it to one of the shapes it throws an error message. It shows the full menu for MASTER in the inspector, but only the title of the imported DESIGN.cga without the variable.&lt;/P&gt;&lt;P&gt;Any idea what I am doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Sep 2014 07:17:39 GMT</pubDate>
    <dc:creator>BrunoSeiler</dc:creator>
    <dc:date>2014-09-05T07:17:39Z</dc:date>
    <item>
      <title>How can I create a rpk from a rule file with imported subscripts?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-a-rpk-from-a-rule-file-with/m-p/465260#M6330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to create a rpk from a rule file that uses several subscripts (separate cga files) through import? I tried several times and it seems that the rpk can only be created for a single cga. If you have 'import'-statements in the cga the created rpk doesn't work, it is looking for the imported scripts which it can't find. How can I solve this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 12:45:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-a-rpk-from-a-rule-file-with/m-p/465260#M6330</guid>
      <dc:creator>BrunoSeiler</dc:creator>
      <dc:date>2014-09-04T12:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a rpk from a rule file with imported subscripts?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-a-rpk-from-a-rule-file-with/m-p/465261#M6331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This 'should' work without issues. I assume you made sure that you picked the master rule ( most top ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know, all scripts are combined into 1 'big' script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know how things work for you.. Maybe add a few screenshots..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: helvetica; font-size: 10pt;"&gt;Matthias Buehler&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: helvetica; font-size: 10pt;"&gt;Head of 3D Technologies&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: helvetica; font-size: 10pt;"&gt;&lt;STRONG&gt;Garsdale Design Ltd.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: helvetica; font-size: 10pt;"&gt;CityEngine Services | Consulting&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: helvetica; font-size: 10pt;"&gt;&lt;A href="http://www.garsdaledesign.co.uk/" title="http://www.garsdaledesign.co.uk/"&gt;http://www.garsdaledesign.co.uk/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 13:19:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-a-rpk-from-a-rule-file-with/m-p/465261#M6331</guid>
      <dc:creator>MatthiasBuehler</dc:creator>
      <dc:date>2014-09-04T13:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a rpk from a rule file with imported subscripts?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-a-rpk-from-a-rule-file-with/m-p/465262#M6332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created an example:&lt;/P&gt;&lt;P&gt;MASTER.cga contains a simple start rule and extrudes the lot with attribute 'Height', it also assigns the material color and gets the color variable from DESIGN.cga. Now when I share MASTER.cga as rpk and I test it in the same project it works fine. But when I import the rpk into another CityEngine project and apply it to one of the shapes it throws an error message. It shows the full menu for MASTER in the inspector, but only the title of the imported DESIGN.cga without the variable.&lt;/P&gt;&lt;P&gt;Any idea what I am doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 07:17:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-a-rpk-from-a-rule-file-with/m-p/465262#M6332</guid>
      <dc:creator>BrunoSeiler</dc:creator>
      <dc:date>2014-09-05T07:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a rpk from a rule file with imported subscripts?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-a-rpk-from-a-rule-file-with/m-p/465263#M6333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can reproduce the issue too on 2014.0. I'll contact the dev team to have a look at this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: helvetica; font-size: 10pt;"&gt;Matthias Buehler&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: helvetica; font-size: 10pt;"&gt;Head of 3D Technologies&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: helvetica; font-size: 10pt;"&gt;&lt;STRONG&gt;Garsdale Design Ltd.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: helvetica; font-size: 10pt;"&gt;CityEngine Services | Consulting&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: helvetica; font-size: 10pt;"&gt;&lt;A class="jive-link-external-small" href="http://www.garsdaledesign.co.uk/" rel="nofollow" target="_blank"&gt;http://www.garsdaledesign.co.uk/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 07:58:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-a-rpk-from-a-rule-file-with/m-p/465263#M6333</guid>
      <dc:creator>MatthiasBuehler</dc:creator>
      <dc:date>2014-09-05T07:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a rpk from a rule file with imported subscripts?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-a-rpk-from-a-rule-file-with/m-p/465264#M6334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;There was a bug in CE 2014.0 which prevented displaying attributes of imported cga files in the inspector.&lt;/P&gt;&lt;P&gt;The error you see is connected to that bug. &lt;/P&gt;&lt;P&gt;However, the rpk "works", i.e. the model is generated as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bug is fixed in CE 2014.1, I just verified it with your rpk. CE 2014.1 will be released very soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 11:26:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-a-rpk-from-a-rule-file-with/m-p/465264#M6334</guid>
      <dc:creator>Matthias_Specht</dc:creator>
      <dc:date>2014-09-05T11:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a rpk from a rule file with imported subscripts?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-a-rpk-from-a-rule-file-with/m-p/465265#M6335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Matthias!&lt;/P&gt;&lt;P&gt;I just tested in version 2014.1 and everything works perfectly now...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 14:08:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-a-rpk-from-a-rule-file-with/m-p/465265#M6335</guid>
      <dc:creator>BrunoSeiler</dc:creator>
      <dc:date>2014-10-10T14:08:03Z</dc:date>
    </item>
  </channel>
</rss>

