Saving/Mapping Spacedesign attributes - Render Plus Software2024-03-29T07:36:41Zhttp://forum.irendernxt.com/forum/topics/saving-mapping-spacedesign-attributes?feed=yes&xn_auth=noGreat!tag:forum.irendernxt.com,2014-07-04:6120890:Comment:529802014-07-04T16:59:04.291ZRich Harthttp://forum.irendernxt.com/profile/RichHart838
<p>Great!</p>
<p>Great!</p> Putting the text in manually…tag:forum.irendernxt.com,2014-07-04:6120890:Comment:531232014-07-04T06:45:26.939ZBernhard Hockertzhttp://forum.irendernxt.com/profile/BernhardHockertz
<p>Putting the text in manually works as well though, so I can actually skip the dialog box. it seems the only relevant part I missed out on was to put report+suppress for DC: cost.<br></br>Did you write "%DC:cost%" or "%DC: cost%"? The space makes the difference for me.</p>
<p>And for your 2 E-Mail replies, I tested all suggested steps and now I also can get everything to work like it should, I'm able to have the settings in my template, and in case I want to have different attribute values ready…</p>
<p>Putting the text in manually works as well though, so I can actually skip the dialog box. it seems the only relevant part I missed out on was to put report+suppress for DC: cost.<br/>Did you write "%DC:cost%" or "%DC: cost%"? The space makes the difference for me.</p>
<p>And for your 2 E-Mail replies, I tested all suggested steps and now I also can get everything to work like it should, I'm able to have the settings in my template, and in case I want to have different attribute values ready to load I can do that now too with the new version, since saving the mappings in the .sda file works the way it should.</p>
<p></p>
<p>Thanks a lot for your great support throughout these issues, I appreciate it.</p> Your DC:cost attribute works…tag:forum.irendernxt.com,2014-07-03:6120890:Comment:529732014-07-03T14:26:13.691ZRich Harthttp://forum.irendernxt.com/profile/RichHart838
<p>Your DC:cost attribute works for me, without using Mappping.</p>
<p>Could you try these steps:</p>
<p>Make sure that "DC:cost" is set to be included in the report, but mark it to be suppressed so we won't see it as a column;</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2506663644?profile=original" target="_self"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2506663644?profile=RESIZE_1024x1024" width="721"></img></a></p>
<p>"Edit" the attribute "cost" and use the "Add attribute to calculation" combo box to select "DC:cost" for the calculation. And click…</p>
<p>Your DC:cost attribute works for me, without using Mappping.</p>
<p>Could you try these steps:</p>
<p>Make sure that "DC:cost" is set to be included in the report, but mark it to be suppressed so we won't see it as a column;</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2506663644?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2506663644?profile=RESIZE_1024x1024" width="721" class="align-full"/></a></p>
<p>"Edit" the attribute "cost" and use the "Add attribute to calculation" combo box to select "DC:cost" for the calculation. And click OK.</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2506663651?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2506663651?profile=RESIZE_1024x1024" width="721" class="align-full"/></a></p>
<p>That should put "%DC:cost%", in the calculation field. You cannot just add the text there manually, you have to do it using the Edit dialog to set the calculation, for some reason.</p>
<p>When I do that, I see this in the report:</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2506663954?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2506663954?profile=original" width="720" class="align-full"/></a></p>
<p>Does that work for you?</p> Auto generating the attribute…tag:forum.irendernxt.com,2014-07-03:6120890:Comment:530382014-07-03T08:41:04.654ZBernhard Hockertzhttp://forum.irendernxt.com/profile/BernhardHockertz
<p>Auto generating the attributes might work out but it's not something I want to have to teach my colleagues, especially as the mapping of DC attributes is much faster and more efficient as it does not require as much maintenance.</p>
<p>I have sent you an E-Mail with 2 components I used and 3 pictures detailing the steps I have taken.</p>
<p>(Just a small side note, on the page you linked above there is a typo, somewhere around the middle there is Exel written instead of Excel.)</p>
<p>Auto generating the attributes might work out but it's not something I want to have to teach my colleagues, especially as the mapping of DC attributes is much faster and more efficient as it does not require as much maintenance.</p>
<p>I have sent you an E-Mail with 2 components I used and 3 pictures detailing the steps I have taken.</p>
<p>(Just a small side note, on the page you linked above there is a typo, somewhere around the middle there is Exel written instead of Excel.)</p> In order to save SpaceDesign…tag:forum.irendernxt.com,2014-07-02:6120890:Comment:530352014-07-02T20:25:10.512ZRich Harthttp://forum.irendernxt.com/profile/RichHart838
<p>In order to save SpaceDesign attributes on SketchUp components, so that when you place a component it will have a specific default attribute like Cost, you need to either learn to use the Ruby interface to place the attribute on the model before you save it as a component, or use the Create Attributes for Components dialog: </p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2506683289?profile=original" target="_self"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2506683289?profile=RESIZE_1024x1024" width="721"></img></a></p>
<p>This works by having all of the…</p>
<p>In order to save SpaceDesign attributes on SketchUp components, so that when you place a component it will have a specific default attribute like Cost, you need to either learn to use the Ruby interface to place the attribute on the model before you save it as a component, or use the Create Attributes for Components dialog: </p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2506683289?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2506683289?profile=RESIZE_1024x1024" width="721" class="align-full"/></a></p>
<p>This works by having all of the components in a local collection in one model and saving a CSV file of the attributes that you can use to change the SpaceDesign attributes for the components before you save, or resave, them as a local collection. Once this is done, when you place those components from the collection, they will have the saved attributes, but still can be over-ridden on instances of the component placed in the model.</p>
<p>This is explained here:</p>
<p><a href="http://www.renderplus.com/wp2/wk/Auto_Generate_Attributes.htm" target="_blank">http://www.renderplus.com/wp2/wk/Auto_Generate_Attributes.htm</a></p>
<p>I just tested this, and found that I had broken this last week, when I added that fix for the Locale number and currency settings, so I posted a new version, NG02, that you will need to install before seeing if this works for you.</p>
<p>However, I think you what you need is a solution that will generate the attributes based on the Dynamic component attributes. Could you post a couple of components that I could use to see why mapping or simply assigning the dynamic attribute to another attribute doesn't work for you? </p>
<p>You can email them to me at rich.hart@renderplus.com</p>
<p>Then I can place them and see why the attributes and mappings are not being saved. This is something that definitely needs to work.</p> I used the Map Attributes but…tag:forum.irendernxt.com,2014-07-02:6120890:Comment:529592014-07-02T08:24:39.203ZBernhard Hockertzhttp://forum.irendernxt.com/profile/BernhardHockertz
<p>I used the Map Attributes button which is in the same window:<a href="http://storage.ning.com/topology/rest/1.0/file/get/2506663106?profile=original" target="_self"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2506663106?profile=RESIZE_1024x1024" width="721"></img></a> Actually your way of Mapping (%DC: [attribute name]%) doesn't work for me, whereas mapping the attributes like this works normally. I just have no way to save that setting apparently, save/load to/from project doesn't work either.</p>
<p>Originally I tried mapping the way you described, but when it didn't work I…</p>
<p>I used the Map Attributes button which is in the same window:<a target="_self" href="http://storage.ning.com/topology/rest/1.0/file/get/2506663106?profile=original"><img width="721" class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2506663106?profile=RESIZE_1024x1024" width="721"/></a>Actually your way of Mapping (%DC: [attribute name]%) doesn't work for me, whereas mapping the attributes like this works normally. I just have no way to save that setting apparently, save/load to/from project doesn't work either.</p>
<p>Originally I tried mapping the way you described, but when it didn't work I assumed that was not the way to do it and used Map Attributes, but now I'm confused why I get a different result when doing the same thing.</p> I mapped DC:lenx to Cost
And…tag:forum.irendernxt.com,2014-07-01:6120890:Comment:528612014-07-01T15:39:22.611ZRich Harthttp://forum.irendernxt.com/profile/RichHart838
<p>I mapped DC:lenx to Cost</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2506674316?profile=original" target="_self"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2506674316?profile=original" width="662"></img></a></p>
<p>And then save that as my project attributes:</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2506674607?profile=original" target="_self"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2506674607?profile=original" width="441"></img></a></p>
<p></p>
<p>Then all I need to do is Load from Project before making the report, and that works for me. I get the lenx value reported as my cost.</p>
<p>Is that…</p>
<p>I mapped DC:lenx to Cost</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2506674316?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2506674316?profile=original" width="662" class="align-full"/></a></p>
<p>And then save that as my project attributes:</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2506674607?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2506674607?profile=original" width="441" class="align-full"/></a></p>
<p></p>
<p>Then all I need to do is Load from Project before making the report, and that works for me. I get the lenx value reported as my cost.</p>
<p>Is that similar to what you are trying to do? or is the mapping that you are doing something else?</p>