<?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: Slopes with array in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273543#M4435</link>
    <description>&lt;B&gt;sinceV6 Thousands of thanks  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; &lt;/B&gt;&lt;BR /&gt;
That you spend your time doing this to me.&lt;BR /&gt;
&lt;BR /&gt;
Now it's akurate the way I wanted it to work prefet now.&lt;BR /&gt;
&lt;BR /&gt;
I've only tested it where I have two sizes on the plates that are 1:40 and 1:60. slop.&lt;BR /&gt;
But I think you will also work at 1: 100 that I have up to six disc sizes.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;So thanks again and to Ling who contributed here &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; &lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
Laurits</description>
    <pubDate>Thu, 15 Mar 2018 07:24:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-15T07:24:07Z</dc:date>
    <item>
      <title>Slopes with array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273533#M4425</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;&lt;B&gt;Hello everybody.&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
I draw roofing systems for flat roofs where we use insulation to build slopes.&lt;BR /&gt;
Today, thank you for making the top layer it works ok. To create slanting plates, we use the wall tool with a profile. Profile has slope 1:40, 1:60 and 1: 100.&lt;BR /&gt;
1:40 has 2 plates and 1:60 has 3 plates while 1: 100 has 6 plates.&lt;BR /&gt;
The structure below uses the Slab tool.&lt;BR /&gt;
See attached PDF file.&lt;BR /&gt;
&lt;BR /&gt;
Using this method cumbersome so I thought I would create an object that we can only pull out with hotspots.&lt;BR /&gt;
&lt;BR /&gt;
What I have made is the profile of the slant to call it in 3D, then I thought I could use the array to extend it from plate 1 and then plate 2 and on plate 3, plate 1 will reappear after plate 2. It fades almost correctly but from plate 2 it comes to plate 1 and flat 2 at once.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
What I want is that I can stretch out to get one and one.&lt;BR /&gt;
&lt;BR /&gt;
Then the question is what I'm doing wrong.&lt;BR /&gt;
&lt;BR /&gt;
All help is of interest.&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Mar 2018 13:42:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273533#M4425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-06T13:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Slopes with array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273534#M4426</link>
      <description>Seriously, nobody knows how to do this.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;</description>
      <pubDate>Wed, 07 Mar 2018 20:24:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273534#M4426</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-07T20:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Slopes with array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273535#M4427</link>
      <description>Hello again&lt;BR /&gt;
Perhaps I've explained badly what I want to get to.&lt;BR /&gt;
&lt;BR /&gt;
What I'm trying to get is that I can stretch with a hotspot that started from Block No. 1 and Block No. 2 so the first flat will come up again. But what happens to me is that I will not get back Block # 1 before I have stretched the hotspot to block No. 2 to come up, then Block No. 1 and Plat No. 2 will arrive at the same time.&lt;BR /&gt;
So what I want is that Block No. 1 should be able to come up alone before Block No. 2 comes up.&lt;BR /&gt;
&lt;BR /&gt;
I hope you realize I need help.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Please help me because I'm completely stuck&lt;/B&gt;</description>
      <pubDate>Mon, 12 Mar 2018 07:45:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273535#M4427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-12T07:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Slopes with array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273536#M4428</link>
      <description>Just clarifying. Bit confused by your definitions within your descriptions...&lt;BR /&gt;
&lt;BR /&gt;
Your object by default shows &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Insulation Layer 1&lt;E&gt;&lt;/E&gt; that creates your incline. You stretch it and when you get to &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Spot X&lt;E&gt;&lt;/E&gt; &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Insulation Layer 2&lt;E&gt;&lt;/E&gt; appears. etc.&lt;BR /&gt;
&lt;BR /&gt;
Your issue is that &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Insulation Layer 1&lt;E&gt;&lt;/E&gt; is not appearing until your reach &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Spot X&lt;E&gt;&lt;/E&gt; at which point &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Insulation Layer 2&lt;E&gt;&lt;/E&gt; appears (as it should)? Is that first layer of insulation the only one not appearing as it should or is something off when you reach &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Spot Y&lt;E&gt;&lt;/E&gt;?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Mon, 12 Mar 2018 08:20:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273536#M4428</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2018-03-12T08:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Slopes with array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273537#M4429</link>
      <description>Thank you for answering&lt;BR /&gt;
What I want is that the blocks will appear when I stretch out hotspot Y direction will come up one and one.&lt;BR /&gt;
&lt;BR /&gt;
That I should get up from 0 m. Block 1 and then block 1 and 2 of 1.2 m. I'll be able to get up the block 1, 2 and 3 at 2.4 m., Etc.&lt;BR /&gt;
&lt;BR /&gt;
If you're kind of trying out what I've done, I think you understand what I'm trying to tell.</description>
      <pubDate>Mon, 12 Mar 2018 08:44:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273537#M4429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-12T08:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Slopes with array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273538#M4430</link>
      <description>I'm not versed enough in scripting to actually solve your problem as far as I can tell, I'm just trying to break down your problem for others who might be reading though this.&lt;BR /&gt;
&lt;BR /&gt;
Repeating my last question: Is that first layer of insulation the only one not appearing as it should or is something off when you reach &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Spot Y&lt;E&gt;&lt;/E&gt;? Do &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Insulation Layer 3, 4, etc.&lt;E&gt;&lt;/E&gt; appear as you keep stretching?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Mon, 12 Mar 2018 08:52:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273538#M4430</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2018-03-12T08:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Slopes with array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273539#M4431</link>
      <description>Thanks again Ling&lt;BR /&gt;
If you're thinking, the tile floor is different width of the tiles in the floor plan to want the possibility of stretching with hotspot in Y direction for multiple copies. To see them appear 1 and 1 and not as couple as I have got it. So it will be possible to quit the Even numbers and odd numbers of copies</description>
      <pubDate>Mon, 12 Mar 2018 09:19:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273539#M4431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-12T09:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Slopes with array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273540#M4432</link>
      <description>Hi.&lt;BR /&gt;
After a very quick look inside, although I would rearrange some things, I think the main issue your are trying to solve seems to be related to the fact that both plates are created in the same FOR - NEXT loop. It could work this way, but I see the same condition for both plates (e.g., plate #2 inside the same FOR loop gets called IF B&amp;gt;=AV, but so is plate #1, effectively calling the plate macro twice).&lt;BR /&gt;
&lt;BR /&gt;
There are many ways you could solve it, like create two different loops or testing each "i" in the loop to know if it should create plate #1 or #2, or checking the cumulative Y distance to see if plate #2 fits.&lt;BR /&gt;
&lt;BR /&gt;
Hope that helps.&lt;BR /&gt;
Best regards.</description>
      <pubDate>Mon, 12 Mar 2018 21:44:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273540#M4432</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2018-03-12T21:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Slopes with array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273541#M4433</link>
      <description>Thanks for the answer sinceV6&lt;BR /&gt;
&lt;BR /&gt;
Now I've tested what you saw but get the same as before.&lt;BR /&gt;
&lt;BR /&gt;
Perhaps you or someone else has another solution to this problem&lt;BR /&gt;
&lt;BR /&gt;
Laurits&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;!!!Plate 1:40 Plate nr. 1 and 2
!============================================================================================================
!!!Plate nr. 1
FOR I = 1 TO NUM

	PEN Linje1
	sect_attrs{2}Linje1
	SECT_FILL Fyll, pen_t, pen_g, pen_b
	MATERIAL smat

if Plate_type = 1 then
	call "Plate_macro" parameters   ZZYZX = 0.02, v = 1.43, ac_bottomlevel = 0.060, X1 = X1, Y1 = Y1,
	B = B

endif
	ADDZ 0.060
	ADDY AV1*2

Next i 
Del top

!!!Plate nr. 2
	ADDY AV1
FOR K = 1 TO NUM2 
	PEN Linje1
	sect_attrs{2}Linje1
	SECT_FILL Fyll1, pen_t, pen_g, pen_b
	MATERIAL smat


if Plate_type = 1 then
call "Plate_macro" parameters ZZYZX = 0.05, v = 1.43, ac_bottomlevel = 0.060, X1 = X1, Y1 = Y1,
	B = B

endif
	ADDZ 0.0
	ADDY AV1*2
Next K &lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Mar 2018 05:41:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273541#M4433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-14T05:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Slopes with array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273542#M4434</link>
      <description>Hi.&lt;BR /&gt;
This is only one way to solve it.&lt;BR /&gt;
&lt;BR /&gt;
Try this:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;!!!Plate 1:40 Plate nr. 1 and 2
!============================================================================================================

FOR i = 1 TO NUM
	PEN Linje1
	sect_attrs{2}Linje1
	SECT_FILL Fyll, pen_t, pen_g, pen_b
	MATERIAL smat

IF i MOD 2 # 0 then

if Plate_type = 1 then
call "Plate_macro" parameters ZZYZX = 0.02, v = 1.43, ac_bottomlevel = 0.060, X1 = X1, Y1 = Y1, B = B

endif
endif


!!!Plate nr. 2

!!ADDY AV1
	PEN Linje1
	sect_attrs{2}Linje1
	SECT_FILL Fyll1, pen_t, pen_g, pen_b
	MATERIAL smat

if i MOD 2 = 0 THEN

if Plate_type = 1 then
	call "Plate_macro" parameters   ZZYZX = 0.05, v = 1.43, ac_bottomlevel = 0.060, X1 = X1, Y1 = Y1, B = B

endif
ADDZ 0.060
endif


!!ADDZ 0.060
ADDY AV1
Next i 
&lt;/PRE&gt;

Also, you should change your "NUM" parameter to an integer type.&lt;BR /&gt;
&lt;BR /&gt;
You can also simplify the 2D script, since you are placing a project2 command inside a loop.&lt;BR /&gt;
2D script:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;HOTSPOT2 0,0
unID = 1000
HOTSPOT2 0,		0, 		unID, 	B, 	1+128: unID=unID+1  	!!! BASE
HOTSPOT2 0, 	B,		unID,	B,	2: unID=unID+1 	!!! Move
HOTSPOT2 0,		-1,		unID,	B,	3: unID=unID+1	!!! Ref	

unID = 2000
HOTSPOT2 0,		0, 		unID, 	X1, 1+128: unID=unID+1  	!!! BASE
HOTSPOT2 X1, 	0,		unID,	X1,	2: unID=unID+1 	!!! Move
HOTSPOT2 -1,		0,		unID,	X1,	3: unID=unID+1	!!! Ref	



!unID = 3000
!HOTSPOT2 0.600,		0, 		unID, 	Y1, 1+128: unID=unID+1  	!!! BASE
!HOTSPOT2 0.600, 	Y1,		unID,	Y1,	2: unID=unID+1 	!!! Move
!HOTSPOT2 0,		-1,		unID,	Y1,	3: unID=unID+1	!!! Ref	


project2{2} 3, 270, 2
&lt;/PRE&gt;

Hope that's what you are after.&lt;BR /&gt;
Best regards.</description>
      <pubDate>Wed, 14 Mar 2018 22:17:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273542#M4434</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2018-03-14T22:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Slopes with array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273543#M4435</link>
      <description>&lt;B&gt;sinceV6 Thousands of thanks  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; &lt;/B&gt;&lt;BR /&gt;
That you spend your time doing this to me.&lt;BR /&gt;
&lt;BR /&gt;
Now it's akurate the way I wanted it to work prefet now.&lt;BR /&gt;
&lt;BR /&gt;
I've only tested it where I have two sizes on the plates that are 1:40 and 1:60. slop.&lt;BR /&gt;
But I think you will also work at 1: 100 that I have up to six disc sizes.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;So thanks again and to Ling who contributed here &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; &lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
Laurits</description>
      <pubDate>Thu, 15 Mar 2018 07:24:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273543#M4435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-15T07:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Slopes with array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273544#M4436</link>
      <description>&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
Glad I could help.&lt;BR /&gt;
&lt;BR /&gt;
Best regards.</description>
      <pubDate>Thu, 15 Mar 2018 14:18:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Slopes-with-array/m-p/273544#M4436</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2018-03-15T14:18:01Z</dc:date>
    </item>
  </channel>
</rss>

