<?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: Costs/SF Costs/Total in Collaboration with other software</title>
    <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218285#M27815</link>
    <description>Open Zone Dialog Settings (one at one) and input the Cost/SF (see picture Room Area - Cost_04.jpg). Then select menu Design / Update Zones...&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/13396iF16662A8DEFFB90F/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Room Area - Cost_04.jpg" title="Room Area - Cost_04.jpg" /&gt;</description>
    <pubDate>Sun, 03 Feb 2013 00:36:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-02-03T00:36:09Z</dc:date>
    <item>
      <title>Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218280#M27810</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;On interactive schedules is anyone using Costs/SF or Costs/Total features in scheme settings ?&lt;BR /&gt;
&lt;BR /&gt;
If so perhaps can you post a link for tutorial or video aid ?&lt;BR /&gt;
&lt;BR /&gt;
Many thanks.....&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/73432iB7D30C5411911088/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Costs 2013-01-28 at 3.31.42 PM.jpg" title="Costs 2013-01-28 at 3.31.42 PM.jpg" /&gt;</description>
      <pubDate>Mon, 28 Jan 2013 20:43:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218280#M27810</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2013-01-28T20:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218281#M27811</link>
      <description>No one uses the interactive scheduling feature in ArchiCAD ? I am flabbergasted !</description>
      <pubDate>Sat, 02 Feb 2013 18:27:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218281#M27811</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2013-02-02T18:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218282#M27812</link>
      <description>Michael,&lt;BR /&gt;
&lt;BR /&gt;
This is a bit tedious to solve, but not impossible!&lt;BR /&gt;
You must ADD some code to GDL script:&lt;BR /&gt;
1. OPEN your Zone stamp object....Select the Zone and use Ctrl+Shift+O (PC)&lt;BR /&gt;
2. In PARAMETERS window check that there is a variable named "ROOM_AREA" (see picture Room Area - Cost_01)</description>
      <pubDate>Sun, 03 Feb 2013 00:33:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218282#M27812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-03T00:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218283#M27813</link>
      <description>2a. In PARAMETERS window check that there are variables named "gs_list_cost" and "gs_list_cost_m2" (see picture Room Area - Cost_02)</description>
      <pubDate>Sun, 03 Feb 2013 00:34:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218283#M27813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-03T00:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218284#M27814</link>
      <description>3. Pick the button located right of Master and write the yellow marked text&lt;BR /&gt;
4. 3. Pick the button located right of Parameter and write the yellow marked text (see picture Room Area - Cost_03).&lt;BR /&gt;
5. Close the main GDL window and SAVE when asked to do it.</description>
      <pubDate>Sun, 03 Feb 2013 00:35:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218284#M27814</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-03T00:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218285#M27815</link>
      <description>Open Zone Dialog Settings (one at one) and input the Cost/SF (see picture Room Area - Cost_04.jpg). Then select menu Design / Update Zones...&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/13396iF16662A8DEFFB90F/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Room Area - Cost_04.jpg" title="Room Area - Cost_04.jpg" /&gt;</description>
      <pubDate>Sun, 03 Feb 2013 00:36:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218285#M27815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-03T00:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218286#M27816</link>
      <description>Open your Schedule and you will see ROOM COSTS (picture Room Area - Cost_05.jpg).&lt;BR /&gt;
&lt;BR /&gt;
Good work!</description>
      <pubDate>Sun, 03 Feb 2013 00:36:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218286#M27816</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-03T00:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218287#M27817</link>
      <description>andro55 :&lt;BR /&gt;
&lt;BR /&gt;
Thank you kindly for your gracious assistance.&lt;BR /&gt;
I believe I have followed instructions explicitly, however I arrive short of a "TOTAL"&lt;BR /&gt;
&lt;BR /&gt;
I will send the same five (5) screen shots back thru that you sent previously.&lt;BR /&gt;
Perhaps you can catch the error.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again</description>
      <pubDate>Mon, 04 Feb 2013 20:30:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218287#M27817</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2013-02-04T20:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218288#M27818</link>
      <description>Second screenshot&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/13142i99E394A7AAC389A2/image-size/large?v=v2&amp;amp;px=999" border="0" alt="shot02_020413.jpg" title="shot02_020413.jpg" /&gt;</description>
      <pubDate>Mon, 04 Feb 2013 20:31:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218288#M27818</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2013-02-04T20:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218289#M27819</link>
      <description>Third screenshot&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/9848iE99088E4A16C86F9/image-size/large?v=v2&amp;amp;px=999" border="0" alt="shot03_020413.jpg" title="shot03_020413.jpg" /&gt;</description>
      <pubDate>Mon, 04 Feb 2013 20:32:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218289#M27819</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2013-02-04T20:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218290#M27820</link>
      <description>Fourth screenshot</description>
      <pubDate>Mon, 04 Feb 2013 20:33:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218290#M27820</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2013-02-04T20:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218291#M27821</link>
      <description>Michael,&lt;BR /&gt;
1. I don´t see your schedule&lt;BR /&gt;
2. Did you execute "Update Zones"?</description>
      <pubDate>Mon, 04 Feb 2013 21:20:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218291#M27821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-04T21:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218292#M27822</link>
      <description>Fifth Screen shot</description>
      <pubDate>Mon, 04 Feb 2013 22:29:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218292#M27822</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2013-02-04T22:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218293#M27823</link>
      <description>and another similar 5th shot&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/12006i13D1FE58498580FE/image-size/large?v=v2&amp;amp;px=999" border="0" alt="05a_020413.jpg" title="05a_020413.jpg" /&gt;</description>
      <pubDate>Mon, 04 Feb 2013 22:35:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218293#M27823</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2013-02-04T22:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218294#M27824</link>
      <description>Found it:     delete the "s" in excess!</description>
      <pubDate>Mon, 04 Feb 2013 23:58:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218294#M27824</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-04T23:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218295#M27825</link>
      <description>Yes Andro55 I saw that too,  the typo, and FIXED it and was hoping I could move on .....&lt;BR /&gt;
&lt;BR /&gt;
But the cyber world said not so fast ...... &lt;BR /&gt;
&lt;BR /&gt;
See schedule and notice how Costs/sqft * Area does not result in Total Costs ..... This is obvious when 0 square footage is in  Costs/sqft column.&lt;BR /&gt;
&lt;BR /&gt;
The one constant seems to be .0929, so the GDL formula is picking up something than what it was programmed to do.&lt;BR /&gt;
&lt;BR /&gt;
Almost there ! Thanks</description>
      <pubDate>Tue, 05 Feb 2013 15:40:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218295#M27825</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2013-02-05T15:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218296#M27826</link>
      <description>Michael,&lt;BR /&gt;
can you copy the GDL code of the Zone Stamp (from Components, Descriptors, Master, 2D, Properties, Parameter windows if not empty) and paste it in the reply window ?&lt;BR /&gt;
&lt;BR /&gt;
I will take a look into the code to find the problem.</description>
      <pubDate>Tue, 05 Feb 2013 19:37:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218296#M27826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-05T19:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218297#M27827</link>
      <description>&lt;B&gt;&lt;FONT color="#DA0000"&gt;Master&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
! Written by Henrik Magyar/Graphisoft 2002.03.19 for the USA market&lt;BR /&gt;
&lt;BR /&gt;
fontsizeao=fontsizeao/2.835&lt;BR /&gt;
!!ROOM_LSIZE=ROOM_LSIZE/2.835&lt;BR /&gt;
&lt;BR /&gt;
PAPER_TO_MODEL = GLOB_SCALE / 1000	! Convert paper size to model size&lt;BR /&gt;
&lt;BR /&gt;
w=0&lt;BR /&gt;
&lt;BR /&gt;
!!!!**************  Cost / Total  ****************!!!!&lt;BR /&gt;
gs_list_cost = gs_list_cost_sqft * ROOM_AREA&lt;BR /&gt;
!!!!**************  Cost / Total  ****************!!!!&lt;BR /&gt;
&lt;BR /&gt;
dim stFontStyle[4]&lt;BR /&gt;
	stFontStyle[1] = `Plain`&lt;BR /&gt;
	stFontStyle[2] = `Bold`&lt;BR /&gt;
	stFontStyle[3] = `Italic`&lt;BR /&gt;
	stFontStyle[4] = `Underline`&lt;BR /&gt;
&lt;BR /&gt;
dim listCodeMat[3]&lt;BR /&gt;
	listCodeMat[1] = `by Material Name`&lt;BR /&gt;
	listCodeMat[2] = `by Code and Name`&lt;BR /&gt;
	listCodeMat[3] = `by Custom Code`&lt;BR /&gt;
&lt;BR /&gt;
dim listDisplayMat[2]&lt;BR /&gt;
	listDisplayMat[1] = `Horizontally`&lt;BR /&gt;
	listDisplayMat[2] = `Vertically`&lt;BR /&gt;
&lt;BR /&gt;
dim listFrameMat[]&lt;BR /&gt;
	listFrameMat[1] = `Frame`&lt;BR /&gt;
	listFrameMat[2] = `Cells`&lt;BR /&gt;
	listFrameMat[3] = `None`&lt;BR /&gt;
&lt;BR /&gt;
dim placePointAnchor[5]&lt;BR /&gt;
	placePointAnchor[1] = `Top Left`&lt;BR /&gt;
	placePointAnchor[2] = `Top Right`&lt;BR /&gt;
	placePointAnchor[3] = `Center`&lt;BR /&gt;
	placePointAnchor[4] = `Bottom Left`&lt;BR /&gt;
	placePointAnchor[5] = `Bottom Right`&lt;BR /&gt;
&lt;BR /&gt;
IF just="Left-Justified"    THEN jst=1&lt;BR /&gt;
IF just="Centered"          THEN jst=2&lt;BR /&gt;
IF just="Right-Justified"   THEN jst=3&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
if not(bFixStampWidth) then&lt;BR /&gt;
	bWrapWord = 0&lt;BR /&gt;
	hideparameter "bWrapWord", "widthStampPoint", "widthStampMM"&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
if box_y and code then&lt;BR /&gt;
	typeFrameMat = listFrameMat[3]&lt;BR /&gt;
	lock "typeFrameMat"&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
dim setPen[10]&lt;BR /&gt;
	setPen[1] 	= zonapen&lt;BR /&gt;
	setPen[2] 	= penNumRoom&lt;BR /&gt;
	setPen[3] 	= zonopen&lt;BR /&gt;
	setPen[4] 	= areapen&lt;BR /&gt;
	setPen[5] 	= codepen&lt;BR /&gt;
	setPen[6] 	= codepen&lt;BR /&gt;
	setPen[7] 	= codepen&lt;BR /&gt;
	setPen[8] 	= peripen&lt;BR /&gt;
	setPen[9] 	= ceilhpen&lt;BR /&gt;
	setPen[10] 	= volumePen&lt;BR /&gt;
&lt;BR /&gt;
dim nameParagraph[]&lt;BR /&gt;
	nameParagraph[1] 	= "paragName"&lt;BR /&gt;
	nameParagraph[2] 	= "paragNumRoom"&lt;BR /&gt;
	nameParagraph[3] 	= "paragNumZone"&lt;BR /&gt;
	nameParagraph[4] 	= "paragArea"&lt;BR /&gt;
	nameParagraph[5] 	= "paragCode"&lt;BR /&gt;
	nameParagraph[6] 	= "paragCode2"&lt;BR /&gt;
	nameParagraph[7] 	= "paragCode3"&lt;BR /&gt;
	nameParagraph[8] 	= "paragPeri"&lt;BR /&gt;
	nameParagraph[9] 	= "paragCeil"&lt;BR /&gt;
	nameParagraph[10] 	= "paragVolume"&lt;BR /&gt;
&lt;BR /&gt;
dim nameTextblock[]&lt;BR /&gt;
	nameTextblock[1] 	= "tBlockName"&lt;BR /&gt;
	nameTextblock[2] 	= "tBlockNumRoom"&lt;BR /&gt;
	nameTextblock[3] 	= "tBlockNumZone"&lt;BR /&gt;
	nameTextblock[4] 	= "tBlockArea"&lt;BR /&gt;
	nameTextblock[5] 	= "tBlockCode"&lt;BR /&gt;
	nameTextblock[6] 	= "tBlockCode2"&lt;BR /&gt;
	nameTextblock[7] 	= "tBlockCode3"&lt;BR /&gt;
	nameTextblock[8] 	= "tBlockPeri"&lt;BR /&gt;
	nameTextblock[9] 	= "tBlockCeil"&lt;BR /&gt;
	nameTextblock[10] 	= "tBlockVolume"&lt;BR /&gt;
&lt;BR /&gt;
dim showText[14]&lt;BR /&gt;
	showText[1] 	= name&lt;BR /&gt;
	showText[2] 	= bNumRoom&lt;BR /&gt;
	showText[3] 	= num&lt;BR /&gt;
	showText[4] 	= area&lt;BR /&gt;
	showText[5] 	= code&lt;BR /&gt;
	showText[6] 	= code * (typeDisplayMat = listDisplayMat[2])&lt;BR /&gt;
	showText[7] 	= code * (typeDisplayMat = listDisplayMat[2])&lt;BR /&gt;
	showText[8] 	= peri&lt;BR /&gt;
	showText[9] 	= ceil_s&lt;BR /&gt;
	showText[10] 	= volume&lt;BR /&gt;
&lt;BR /&gt;
dim setStyle[14]&lt;BR /&gt;
	setStyle[1] 	= "znamestyle"&lt;BR /&gt;
	setStyle[2] 	= "styleNumRoom"&lt;BR /&gt;
	setStyle[3] 	= "znumstyle"&lt;BR /&gt;
	setStyle[4] 	= "arstyle"&lt;BR /&gt;
	setStyle[5] 	= "codestyle"&lt;BR /&gt;
	setStyle[6] 	= "codestyle"&lt;BR /&gt;
	setStyle[7] 	= "codestyle"&lt;BR /&gt;
	setStyle[8] 	= "pestyle"&lt;BR /&gt;
	setStyle[9] 	= "chstyle"&lt;BR /&gt;
	setStyle[10] 	= "VolStyle"&lt;BR /&gt;
&lt;BR /&gt;
dim tBlockHeight[]&lt;BR /&gt;
dim tBlockWidth[]&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;&lt;FONT color="#DA0000"&gt;2D&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
if	name=0 &amp;amp; bNumRoom=0 &amp;amp; num=0 &amp;amp; code=0 &amp;amp; area=0 &amp;amp; peri=0 &amp;amp; ceil_s=0 then end&lt;BR /&gt;
&lt;BR /&gt;
! ------------------------------------------------------------------------------------------&lt;BR /&gt;
! Uninitialized variables&lt;BR /&gt;
! ------------------------------------------------------------------------------------------&lt;BR /&gt;
heightStamp = 0&lt;BR /&gt;
numRowMAX = 0&lt;BR /&gt;
vlen = 0&lt;BR /&gt;
numRow = 0&lt;BR /&gt;
&lt;BR /&gt;
! ==========================================================================================&lt;BR /&gt;
! STYLE&lt;BR /&gt;
! ==========================================================================================&lt;BR /&gt;
! FontStyle&lt;BR /&gt;
! ------------------------------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
fontStyle = zonastyle&lt;BR /&gt;
gosub 2000&lt;BR /&gt;
zonasty = iFontStyle&lt;BR /&gt;
&lt;BR /&gt;
fontStyle = styleNumRoom&lt;BR /&gt;
gosub 2000&lt;BR /&gt;
numRoomsty = iFontStyle&lt;BR /&gt;
&lt;BR /&gt;
fontStyle = zonostyle&lt;BR /&gt;
gosub 2000&lt;BR /&gt;
zonosty = iFontStyle&lt;BR /&gt;
&lt;BR /&gt;
fontStyle = codestyle&lt;BR /&gt;
gosub 2000&lt;BR /&gt;
codesty = iFontStyle&lt;BR /&gt;
&lt;BR /&gt;
fontStyle = areastyle&lt;BR /&gt;
gosub 2000&lt;BR /&gt;
areasty = iFontStyle&lt;BR /&gt;
&lt;BR /&gt;
fontStyle = peristyle&lt;BR /&gt;
gosub 2000&lt;BR /&gt;
peristy = iFontStyle&lt;BR /&gt;
&lt;BR /&gt;
fontStyle = ceilhstyle&lt;BR /&gt;
gosub 2000&lt;BR /&gt;
ceilhsty = iFontStyle&lt;BR /&gt;
&lt;BR /&gt;
fontStyle = volumeStyle&lt;BR /&gt;
gosub 2000&lt;BR /&gt;
VolumeSty = iFontStyle&lt;BR /&gt;
&lt;BR /&gt;
! ------------------------------------------------------------------------------------------&lt;BR /&gt;
! Define Style&lt;BR /&gt;
! ------------------------------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
define style  "znamestyle"		AC_TextFont_1,	ROOM_LSIZE,	jst,	zonasty&lt;BR /&gt;
define style  "styleNumRoom"	fontNumRoom,	fontsizeao,	jst,	numRoomsty&lt;BR /&gt;
define style  "znumstyle"		zonofont,		fontsizeao,	jst,	zonosty&lt;BR /&gt;
define style  "arstyle"			areafont,		fontsizeao,	jst,	areasty&lt;BR /&gt;
define style  "codestyle" 		codefont,		fontsizeao,	jst,	codesty&lt;BR /&gt;
define style  "pestyle"			perifont,		fontsizeao,	jst,	peristy&lt;BR /&gt;
define style  "chstyle"			ceilhfont,		fontsizeao,	jst,	ceilhsty&lt;BR /&gt;
define style  "VolStyle"		volumeFont,		fontsizeao,	jst,	VolumeSty&lt;BR /&gt;
&lt;BR /&gt;
mul2 PAPER_TO_MODEL,PAPER_TO_MODEL&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
! ------------------------------------------------------------------------------------------&lt;BR /&gt;
! Request&lt;BR /&gt;
! ------------------------------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
style znamestyle&lt;BR /&gt;
&lt;BR /&gt;
rrr=request("Height_of_style","znamestyle", shight)&lt;BR /&gt;
rrr=request("Height_of_style","znumstyle", shight2)&lt;BR /&gt;
&lt;BR /&gt;
catname = 	""&lt;BR /&gt;
catcode = 	""&lt;BR /&gt;
&lt;BR /&gt;
rrr = request("Zone_category", "", catname, catcode)&lt;BR /&gt;
&lt;BR /&gt;
Zname = ROOM_NAME&lt;BR /&gt;
	if cn_zn then Zname = catname                   	!*** display Category Name as Zone name&lt;BR /&gt;
	if catcode = "0 BGF" then Zname = "Gross Area"  	!***prints "BGF" to the stamp&lt;BR /&gt;
&lt;BR /&gt;
area_form =	""&lt;BR /&gt;
	rrr = request ("Area_dimension","",area_form)&lt;BR /&gt;
	room_area = str (area_form, ROOM_CALC_AREA)&lt;BR /&gt;
&lt;BR /&gt;
lin_form =	""&lt;BR /&gt;
	rrr = request ("Linear_dimension","",lin_form)&lt;BR /&gt;
	room_height = str (lin_form , ROOM_HEIGHT)&lt;BR /&gt;
	room_perim = str (lin_form , ROOM_PERIM)&lt;BR /&gt;
&lt;BR /&gt;
vol_form = ""&lt;BR /&gt;
	rrr = request ("Calc_volume_unit", "", vol_form)&lt;BR /&gt;
	room_volume	= str (vol_form , ROOM_VOLUME)&lt;BR /&gt;
&lt;BR /&gt;
unit = ""&lt;BR /&gt;
area_unit = ""&lt;BR /&gt;
lin_unit = ""&lt;BR /&gt;
form = ""&lt;BR /&gt;
vol_unit = ""&lt;BR /&gt;
&lt;BR /&gt;
form = lin_form     !*** Unit strings&lt;BR /&gt;
gosub 1001&lt;BR /&gt;
lin_unit = unit&lt;BR /&gt;
&lt;BR /&gt;
form = area_form&lt;BR /&gt;
gosub 1002&lt;BR /&gt;
area_unit = unit&lt;BR /&gt;
&lt;BR /&gt;
form = vol_form&lt;BR /&gt;
gosub 1003&lt;BR /&gt;
vol_unit = unit&lt;BR /&gt;
&lt;BR /&gt;
room_area = "A: " + room_area + area_unit			!*** composite strings&lt;BR /&gt;
&lt;BR /&gt;
rrr = request ("Name_of_material", listCodeFloorMat, listCodeFloorMat )&lt;BR /&gt;
rrr = request ("Name_of_material", listCodeWallMat , listCodeWallMat )&lt;BR /&gt;
rrr = request ("Name_of_material", listCodeCeilMat , listCodeCeilMat )&lt;BR /&gt;
&lt;BR /&gt;
if typeCodeMat = listCodeMat[1] then&lt;BR /&gt;
	if typeDisplayMat = `Horizontally` then&lt;BR /&gt;
		code_string = listCodeFloorMat + "    " + listCodeWallMat + "    " + listCodeCeilMat&lt;BR /&gt;
		code_string2 = ""&lt;BR /&gt;
		code_string3 = ""&lt;BR /&gt;
	else&lt;BR /&gt;
		code_string = listCodeFloorMat&lt;BR /&gt;
		code_string2 = listCodeWallMat&lt;BR /&gt;
		code_string3 = listCodeCeilMat&lt;BR /&gt;
	endif&lt;BR /&gt;
	set style  "codestyle"&lt;BR /&gt;
	stwCellsFloor = stw (listCodeFloorMat)+2&lt;BR /&gt;
	stwCellsWall = stw (listCodeWallMat)+1&lt;BR /&gt;
	stwCellsCeil = stw (listCodeCeilMat)+2&lt;BR /&gt;
else&lt;BR /&gt;
	if typeCodeMat = listCodeMat[2] then&lt;BR /&gt;
		if typeDisplayMat = `Horizontally` then&lt;BR /&gt;
			code_string = textNameFloorMat + "" + listCodeFloorMat+"    "+textNameWallMat + "" + listCodeWallMat+"    "+textNameCeilMat + "" + listCodeCeilMat&lt;BR /&gt;
			code_string2 = ""&lt;BR /&gt;
			code_string3 = ""&lt;BR /&gt;
		else&lt;BR /&gt;
			code_string = textNameFloorMat + " " + listCodeFloorMat&lt;BR /&gt;
			code_string2 = textNameWallMat + " " + listCodeWallMat&lt;BR /&gt;
			code_string3 = textNameCeilMat + " " + listCodeCeilMat&lt;BR /&gt;
		endif&lt;BR /&gt;
		set style  "codestyle"&lt;BR /&gt;
		stwCellsFloor = stw (textNameFloorMat + " " + listCodeFloorMat)+2&lt;BR /&gt;
		stwCellsWall = stw (textNameWallMat + " " + listCodeWallMat)+1&lt;BR /&gt;
		stwCellsCeil = stw (textNameCeilMat + " " + listCodeCeilMat)+2&lt;BR /&gt;
&lt;BR /&gt;
	else&lt;BR /&gt;
		if typeCodeMat = listCodeMat[3] then&lt;BR /&gt;
			if typeDisplayMat = `Horizontally` then&lt;BR /&gt;
				code_string = basec + "    " + wallc + "    " + ceilc&lt;BR /&gt;
				code_string2 = ""&lt;BR /&gt;
				code_string3 = ""&lt;BR /&gt;
			else&lt;BR /&gt;
				code_string = basec&lt;BR /&gt;
				code_string2 = wallc&lt;BR /&gt;
				code_string3 = ceilc&lt;BR /&gt;
			endif&lt;BR /&gt;
			set style  "codestyle"&lt;BR /&gt;
			stwCellsFloor = stw (basec)+2&lt;BR /&gt;
			stwCellsWall = stw (wallc)+1&lt;BR /&gt;
			stwCellsCeil = stw (ceilc)+2&lt;BR /&gt;
		endif&lt;BR /&gt;
	endif&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
maxCodeLength = max(stwCellsFloor,stwCellsWall,stwCellsCeil)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
if ceiltype="Value" then&lt;BR /&gt;
	room_height = "H: " + room_height + lin_unit&lt;BR /&gt;
else&lt;BR /&gt;
	room_height = ceiltype&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
room_perim = "P: " + room_perim + lin_unit&lt;BR /&gt;
&lt;BR /&gt;
room_volume = "V: " + room_volume + vol_unit&lt;BR /&gt;
&lt;BR /&gt;
!--------------------------------------------&lt;BR /&gt;
	dim stBoxText[10]&lt;BR /&gt;
	stBoxText[1] 	= Zname&lt;BR /&gt;
	stBoxText[2] 	= textNumRoom&lt;BR /&gt;
	stBoxText[3] 	= room_number&lt;BR /&gt;
	stBoxText[4] 	= room_area&lt;BR /&gt;
	stBoxText[5] 	= code_string&lt;BR /&gt;
	stBoxText[6] 	= code_string2&lt;BR /&gt;
	stBoxText[7] 	= code_string3&lt;BR /&gt;
	stBoxText[8] 	= room_perim&lt;BR /&gt;
	stBoxText[9] 	= room_height&lt;BR /&gt;
	stBoxText[10] 	= room_volume&lt;BR /&gt;
&lt;BR /&gt;
! ------------------------------------------------------------------------------------------&lt;BR /&gt;
! Size of the strings - Max, Min&lt;BR /&gt;
! ------------------------------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
set style  "znamestyle"&lt;BR /&gt;
	if not(bZoneNameAllign) and not(bFrameZoneName) then&lt;BR /&gt;
		w_roona = (stw (Zname))&lt;BR /&gt;
	else&lt;BR /&gt;
		w_roona = (stw (Zname)+2)							! Justify to Subtext&lt;BR /&gt;
	endif&lt;BR /&gt;
&lt;BR /&gt;
set style  "styleNumRoom"&lt;BR /&gt;
	w_numRoom = (stw (textNumRoom)+2)&lt;BR /&gt;
&lt;BR /&gt;
set style  "znumstyle"&lt;BR /&gt;
	w_roonu = (stw (ROOM_NUMBER)+2)&lt;BR /&gt;
&lt;BR /&gt;
set style  "arstyle"&lt;BR /&gt;
	w_rooar = (stw (room_area)+2)&lt;BR /&gt;
&lt;BR /&gt;
set style  "codestyle"&lt;BR /&gt;
	if typeDisplayMat = `Horizontally` then&lt;BR /&gt;
		w_code = (stw (code_string)+2)&lt;BR /&gt;
		w_code2 = 0&lt;BR /&gt;
		w_code3 = 0&lt;BR /&gt;
	else&lt;BR /&gt;
		w_code  = (stw (code_string)+2)&lt;BR /&gt;
		w_code2 = (stw (code_string2)+2)&lt;BR /&gt;
		w_code3 = (stw (code_string3)+2)&lt;BR /&gt;
	endif&lt;BR /&gt;
&lt;BR /&gt;
set style  "pestyle"&lt;BR /&gt;
	w_peri = (stw (room_perim)+2)&lt;BR /&gt;
&lt;BR /&gt;
set style  "chstyle"&lt;BR /&gt;
	w_roohe = (stw (room_height)+2)&lt;BR /&gt;
&lt;BR /&gt;
set style  "VolStyle"&lt;BR /&gt;
	w_roovol = (stw (room_volume)+2)&lt;BR /&gt;
&lt;BR /&gt;
max_len = max (	w_roona 			* name,&lt;BR /&gt;
				w_numRoom 			* bNumRoom,&lt;BR /&gt;
				w_roonu 			* num,&lt;BR /&gt;
				w_rooar 			* area,&lt;BR /&gt;
				w_code	 			* code,&lt;BR /&gt;
				w_code2 			* code * (typeDisplayMat = listDisplayMat[2]),&lt;BR /&gt;
				w_code3 			* code * (typeDisplayMat = listDisplayMat[2]),&lt;BR /&gt;
				w_peri 				* peri,&lt;BR /&gt;
				w_roohe 			* ceil_s,&lt;BR /&gt;
				w_roovol 			* volume)   						!*** width of the stamp&lt;BR /&gt;
&lt;BR /&gt;
rot2 w&lt;BR /&gt;
&lt;BR /&gt;
! ------------------------------------------------------------------------------------------&lt;BR /&gt;
! Make a Pharagraph --&amp;gt; Size of the strings - height&lt;BR /&gt;
! ------------------------------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
if not(bFixStampWidth) then&lt;BR /&gt;
	widthStamp = max_len&lt;BR /&gt;
else&lt;BR /&gt;
	if not(bWrapWord) then&lt;BR /&gt;
		widthStampMIN = max_len&lt;BR /&gt;
	else&lt;BR /&gt;
		if code and typeFrameMat &amp;lt;&amp;gt; `None` and not(box_y) then&lt;BR /&gt;
			if typeDisplayMat = listDisplayMat[1] then widthStampMIN = w_code		! Horizontally&lt;BR /&gt;
			if typeDisplayMat = listDisplayMat[2] then widthStampMIN = maxCodeLength	! Vertically&lt;BR /&gt;
		endif&lt;BR /&gt;
	endif&lt;BR /&gt;
	if widthStampMM &amp;lt; widthStampMIN then widthStampMM = widthStampMIN&lt;BR /&gt;
	widthStamp = widthStampMM&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
for iWrap = 1 to 10&lt;BR /&gt;
	PARAGRAPH nameParagraph[iWrap] jst, 0, 0, 0, 1, 0&lt;BR /&gt;
		pen setPen[iWrap]&lt;BR /&gt;
		set style setStyle[iWrap]&lt;BR /&gt;
		""+stBoxText[iWrap]&lt;BR /&gt;
	ENDPARAGRAPH&lt;BR /&gt;
&lt;BR /&gt;
	TEXTBLOCK nameTextblock[iWrap] widthStamp, jst, 0, 1 ,1, 0,nameParagraph[iWrap]&lt;BR /&gt;
&lt;BR /&gt;
	n = REQUEST ("TEXTBLOCK_INFO",nameTextblock[iWrap],width,height)&lt;BR /&gt;
	tBlockHeight[iWrap] = height&lt;BR /&gt;
	tBlockWidth[iWrap] = width&lt;BR /&gt;
&lt;BR /&gt;
	!*** height of the stamp&lt;BR /&gt;
	if showtext[iWrap] then&lt;BR /&gt;
		heightStamp = heightStamp - tBlockHeight[iWrap]&lt;BR /&gt;
		numRowMAX = numRowMAX + 1&lt;BR /&gt;
	endif&lt;BR /&gt;
next iWrap&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
! ========================================================================================&lt;BR /&gt;
! Inscription and Drawing Frame&lt;BR /&gt;
! ========================================================================================&lt;BR /&gt;
&lt;BR /&gt;
gosub 4000&lt;BR /&gt;
&lt;BR /&gt;
for iFunction = 1 to 10&lt;BR /&gt;
	if showtext[iFunction] then&lt;BR /&gt;
		! Justify&lt;BR /&gt;
		if iFunction = 1 and not(bFrameZoneName) and not(bZoneNameAllign) then&lt;BR /&gt;
			if jst = 1 then dist = 0									!Left_Justified&lt;BR /&gt;
			if jst = 2 then dist = widthStamp/2							!Centered_Justified&lt;BR /&gt;
			if jst = 3 then dist = widthStamp							!Right_Justified&lt;BR /&gt;
		else&lt;BR /&gt;
			if jst = 1 	then dist = 1									!Left_Justified&lt;BR /&gt;
			if jst = 2 	then dist = widthStamp/2						!Centered_Justified&lt;BR /&gt;
			if jst = 3 	then dist = widthStamp-1						!Right_Justified&lt;BR /&gt;
		endif&lt;BR /&gt;
&lt;BR /&gt;
		pen setPen[iFunction]&lt;BR /&gt;
		set style setstyle[iFunction]&lt;BR /&gt;
		richtext2 dist,-vlen,nameTextblock[iFunction]&lt;BR /&gt;
		vlen = vlen + tBlockHeight[iFunction]&lt;BR /&gt;
		numRow = numRow + 1&lt;BR /&gt;
&lt;BR /&gt;
		! just the inlines except after the last row&lt;BR /&gt;
		if box_y and inline and (numRow &amp;lt;&amp;gt; numRowMAX) then gosub 3000&lt;BR /&gt;
&lt;BR /&gt;
		! -----------------------------&lt;BR /&gt;
		! for material code own frame [&lt;BR /&gt;
		! -----------------------------&lt;BR /&gt;
		if not(box_y) &amp;amp; iFunction = 5 then&lt;BR /&gt;
			pen Pen_Box&lt;BR /&gt;
			if typeDisplayMat = listDisplayMat[1] then					! Horizontally&lt;BR /&gt;
				if typeFrameMat &amp;lt;&amp;gt; listFrameMat[3] then					! Frame &amp;lt;&amp;gt; None&lt;BR /&gt;
					if jst = 1 then&lt;BR /&gt;
						rect2 0,-vlen +tBlockHeight[iFunction],w_code,-vlen&lt;BR /&gt;
						if typeFrameMat = listFrameMat[2] then			! Frame = Cells&lt;BR /&gt;
							line2 stwCellsFloor,-vlen + tBlockHeight[iFunction],stwCellsFloor ,-vlen&lt;BR /&gt;
							line2 w_code-stwCellsCeil,-vlen + tBlockHeight[iFunction],w_code-stwCellsCeil,-vlen&lt;BR /&gt;
						endif&lt;BR /&gt;
					endif&lt;BR /&gt;
					if jst = 2 then&lt;BR /&gt;
						rect2 widthStamp/2-w_code/2,-vlen +tBlockHeight[iFunction],widthStamp/2+w_code/2,-vlen&lt;BR /&gt;
						if typeFrameMat = listFrameMat[2] then&lt;BR /&gt;
							line2 widthStamp/2-w_code/2 +stwCellsFloor,-vlen + tBlockHeight[iFunction],widthStamp/2-w_code/2 +stwCellsFloor ,-vlen&lt;BR /&gt;
							line2 widthStamp/2+w_code/2 -stwCellsCeil,-vlen + tBlockHeight[iFunction],widthStamp/2+w_code/2 -stwCellsCeil ,-vlen&lt;BR /&gt;
						endif&lt;BR /&gt;
					endif&lt;BR /&gt;
					if jst = 3 then&lt;BR /&gt;
						rect2 widthStamp-w_code,-vlen +tBlockHeight[iFunction],widthStamp,-vlen&lt;BR /&gt;
						if typeFrameMat = listFrameMat[2] then&lt;BR /&gt;
							line2 widthStamp-w_code+stwCellsFloor,-vlen + tBlockHeight[iFunction],widthStamp-w_code+stwCellsFloor ,-vlen&lt;BR /&gt;
							line2 widthStamp-stwCellsCeil,-vlen + tBlockHeight[iFunction],widthStamp-stwCellsCeil,-vlen&lt;BR /&gt;
						endif&lt;BR /&gt;
					endif&lt;BR /&gt;
				endif&lt;BR /&gt;
			else														! Vertically&lt;BR /&gt;
				if typeFrameMat &amp;lt;&amp;gt; listFrameMat[3] then					! Frame &amp;lt;&amp;gt; None&lt;BR /&gt;
					if jst = 1 then&lt;BR /&gt;
						rect2 0,-vlen +tBlockHeight[iFunction],maxCodeLength,-vlen -tBlockHeight[iFunction]*2&lt;BR /&gt;
						if typeFrameMat = listFrameMat[2] then&lt;BR /&gt;
							line2 0,-vlen, maxCodeLength,-vlen&lt;BR /&gt;
							line2 0,-vlen -tBlockHeight[iFunction], maxCodeLength,-vlen -tBlockHeight[iFunction]&lt;BR /&gt;
						endif&lt;BR /&gt;
					endif&lt;BR /&gt;
					if jst = 2 then&lt;BR /&gt;
						rect2 widthStamp/2 - maxCodeLength/2,-vlen +tBlockHeight[iFunction],widthStamp/2 + maxCodeLength/2,-vlen -tBlockHeight[iFunction]*2&lt;BR /&gt;
						if typeFrameMat = listFrameMat[2] then&lt;BR /&gt;
							line2 widthStamp/2 - maxCodeLength/2,-vlen, widthStamp/2 + maxCodeLength/2,-vlen&lt;BR /&gt;
							line2 widthStamp/2 - maxCodeLength/2,-vlen -tBlockHeight[iFunction], widthStamp/2 + maxCodeLength/2,-vlen -tBlockHeight[iFunction]&lt;BR /&gt;
						endif&lt;BR /&gt;
					endif&lt;BR /&gt;
					if jst = 3 then&lt;BR /&gt;
						rect2 widthStamp - maxCodeLength,-vlen +tBlockHeight[iFunction],widthStamp,-vlen -tBlockHeight[iFunction]*2&lt;BR /&gt;
						if typeFrameMat = listFrameMat[2] then&lt;BR /&gt;
							line2 widthStamp - maxCodeLength,-vlen, widthStamp,-vlen&lt;BR /&gt;
							line2 widthStamp - maxCodeLength,-vlen -tBlockHeight[iFunction], widthStamp,-vlen -tBlockHeight[iFunction]&lt;BR /&gt;
						endif&lt;BR /&gt;
					endif&lt;BR /&gt;
				endif&lt;BR /&gt;
			endif&lt;BR /&gt;
		endif&lt;BR /&gt;
		! -----------------------------&lt;BR /&gt;
		! ] for material code own frame&lt;BR /&gt;
		! -----------------------------&lt;BR /&gt;
&lt;BR /&gt;
	endif&lt;BR /&gt;
next iFunction&lt;BR /&gt;
&lt;BR /&gt;
if box_y then&lt;BR /&gt;
	pen Pen_Box&lt;BR /&gt;
	if name and bFrameZoneName then											! just the global frame with ZonaName&lt;BR /&gt;
		rect2 0,0,widthStamp,-vlen&lt;BR /&gt;
	else&lt;BR /&gt;
		if name and not(bFrameZoneName) then								! just the global frame without ZonaName&lt;BR /&gt;
			if numRow &amp;gt; 1 then rect2 0,-tBlockHeight[1],widthStamp,-vlen	! if just the name displayed don`t draw frame&lt;BR /&gt;
		else&lt;BR /&gt;
			rect2 0,0,widthStamp,-vlen&lt;BR /&gt;
		endif&lt;BR /&gt;
	endif&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
! ========================================================================================&lt;BR /&gt;
! Hotspots&lt;BR /&gt;
! ========================================================================================&lt;BR /&gt;
&lt;BR /&gt;
if hspots then&lt;BR /&gt;
   hotspot2 widthStamp/2, 0&lt;BR /&gt;
   hotspot2 widthStamp/2, heightStamp&lt;BR /&gt;
   hotspot2 0, heightStamp/2&lt;BR /&gt;
   hotspot2 widthStamp, heightStamp/2&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
 if bFixStampWidth then&lt;BR /&gt;
	unID = GS_HotspotUnIDBegin&lt;BR /&gt;
&lt;BR /&gt;
	if pointAnchor = placePointAnchor[1] or pointAnchor = placePointAnchor[4] then&lt;BR /&gt;
		! Top Left&lt;BR /&gt;
		! Bottom Left&lt;BR /&gt;
		HOTSPOT2 0, 				0, 			unID, 		widthStampLength_model,			1+256		,widthStampPoint	:unID=unID+1&lt;BR /&gt;
		HOTSPOT2 -1,				0,			unID,		widthStampLength_model,			3		,widthStampPoint	:unID=unID+1&lt;BR /&gt;
		HOTSPOT2 widthStamp,		0,			unID,		widthStampLength_model,			2			,widthStampPoint	:unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
		HOTSPOT2 0,					heightStamp,unID,		widthStampLength_model,			1+256		,widthStampPoint	:unID=unID+1&lt;BR /&gt;
		HOTSPOT2 -1,				heightStamp,unID,		widthStampLength_model,			3			,widthStampPoint	:unID=unID+1&lt;BR /&gt;
		HOTSPOT2 widthStamp,		heightStamp,unID,		widthStampLength_model,			2			,widthStampPoint	:unID=unID+1&lt;BR /&gt;
	endif&lt;BR /&gt;
	if pointAnchor = placePointAnchor[2] or pointAnchor = placePointAnchor[5] then&lt;BR /&gt;
		! Bottom Right&lt;BR /&gt;
		! Top Right&lt;BR /&gt;
		HOTSPOT2 widthStamp,		0, 			unID, 		widthStampLength_model,			1+256		,widthStampPoint	:unID=unID+1&lt;BR /&gt;
		HOTSPOT2 widthStamp+1,		0,			unID,		widthStampLength_model,			3			,widthStampPoint	:unID=unID+1&lt;BR /&gt;
		HOTSPOT2 0,					0,			unID,		widthStampLength_model,			2			,widthStampPoint	:unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
		HOTSPOT2 widthStamp,		heightStamp,unID,		widthStampLength_model,			1+256		,widthStampPoint	:unID=unID+1&lt;BR /&gt;
		HOTSPOT2 widthStamp+1,		heightStamp,unID,		widthStampLength_model,			3			,widthStampPoint	:unID=unID+1&lt;BR /&gt;
		HOTSPOT2 0,					heightStamp,unID,		widthStampLength_model,			2			,widthStampPoint	:unID=unID+1&lt;BR /&gt;
	endif&lt;BR /&gt;
	if pointAnchor = placePointAnchor[3] then&lt;BR /&gt;
		! Center&lt;BR /&gt;
		HOTSPOT2 widthStamp/2,		0, 			unID, 		widthStampLength_modelPer2,		1+128		,widthStampPoint	:unID=unID+1&lt;BR /&gt;
		HOTSPOT2 widthStamp/2-1,	0,			unID,		widthStampLength_modelPer2,		3			,widthStampPoint	:unID=unID+1&lt;BR /&gt;
		HOTSPOT2 widthStamp,		0,			unID,		widthStampLength_modelPer2,		2			,widthStampPoint	:unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
		HOTSPOT2 widthStamp/2,		heightStamp,unID,		widthStampLength_modelPer2,		1+128		,widthStampPoint	:unID=unID+1&lt;BR /&gt;
		HOTSPOT2 widthStamp/2-1,	heightStamp,unID,		widthStampLength_modelPer2,		3			,widthStampPoint	:unID=unID+1&lt;BR /&gt;
		HOTSPOT2 widthStamp,		heightStamp,unID,		widthStampLength_modelPer2,		2			,widthStampPoint	:unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
		HOTSPOT2 widthStamp/2,		0, 			unID, 		widthStampLength_modelPer2,		1+128 		,widthStampPoint	:unID=unID+1&lt;BR /&gt;
		HOTSPOT2 widthStamp/2+1,	0,			unID,		widthStampLength_modelPer2,		3			,widthStampPoint	:unID=unID+1&lt;BR /&gt;
		HOTSPOT2 0,					0,			unID,		widthStampLength_modelPer2,		2			,widthStampPoint	:unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
		HOTSPOT2 widthStamp/2,		heightStamp,unID,		widthStampLength_modelPer2,		1+128		,widthStampPoint	:unID=unID+1&lt;BR /&gt;
		HOTSPOT2 widthStamp/2+1,	heightStamp,unID,		widthStampLength_modelPer2,		3			,widthStampPoint	:unID=unID+1&lt;BR /&gt;
		HOTSPOT2 0,					heightStamp,unID,		widthStampLength_modelPer2,		2			,widthStampPoint	:unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
	endif&lt;BR /&gt;
&lt;BR /&gt;
	hotspot2 widthStamp/2,	heightStamp/2&lt;BR /&gt;
else&lt;BR /&gt;
	HOTSPOT2 0, 			0&lt;BR /&gt;
	HOTSPOT2 widthStamp, 	0&lt;BR /&gt;
	HOTSPOT2 0, 			heightStamp&lt;BR /&gt;
	HOTSPOT2 widthStamp,	heightStamp&lt;BR /&gt;
	HOTSPOT2 widthStamp/2, 	heightStamp/2&lt;BR /&gt;
endif&lt;BR /&gt;
end&lt;BR /&gt;
&lt;BR /&gt;
! ========================================================================================&lt;BR /&gt;
! Subroutines&lt;BR /&gt;
! ========================================================================================&lt;BR /&gt;
&lt;BR /&gt;
1001:                                           !*** Linear unit strings&lt;BR /&gt;
   if strstr (form, "m") then unit = " m"&lt;BR /&gt;
   if strstr (form, "cm") then unit = " cm"&lt;BR /&gt;
   if strstr (form, "mm") then unit = " mm"&lt;BR /&gt;
   if strstr (form, "i") or strstr (form, "f") then unit = ""&lt;BR /&gt;
return&lt;BR /&gt;
&lt;BR /&gt;
1002:                                           !*** Area unit strings&lt;BR /&gt;
   if strstr (form, "sqm") then unit = " m2"&lt;BR /&gt;
   if strstr (form, "sqcm") then unit = " cm2"&lt;BR /&gt;
   if strstr (form, "sqmm") then unit = " mm2"&lt;BR /&gt;
   if strstr (form, "sqf") then unit = " sq ft"&lt;BR /&gt;
   if strstr (form, "sqi") then unit = " sq inch"&lt;BR /&gt;
return&lt;BR /&gt;
&lt;BR /&gt;
1003:											!*** Volume unit strings&lt;BR /&gt;
   if strstr(form, "cum")	then unit = " m3"			! cubic meters&lt;BR /&gt;
   if strstr(form, "cucm")	then unit = " cm3"			! cubic centimeters&lt;BR /&gt;
   if strstr(form, "cumm")	then unit = " mm3"			! cubic millimeters&lt;BR /&gt;
   if strstr(form, "cuf")	then unit = " cu ft"		! cubic feet&lt;BR /&gt;
   if strstr(form, "cui")	then unit = " cu inch"		! cubic inches&lt;BR /&gt;
   if strstr(form, "cuy")	then unit = " cu yards"		! cubic yards&lt;BR /&gt;
   if strstr(form, "l")		then unit = " liter"		! liters&lt;BR /&gt;
   if strstr(form, "gal")	then unit = " gallon"		! gallons&lt;BR /&gt;
return&lt;BR /&gt;
&lt;BR /&gt;
2000:&lt;BR /&gt;
	if fontStyle = stFontStyle[1] then iFontStyle = 0	! Plain&lt;BR /&gt;
	if fontStyle = stFontStyle[2] then iFontStyle = 1	! Bold&lt;BR /&gt;
	if fontStyle = stFontStyle[3] then iFontStyle = 2	! Italic&lt;BR /&gt;
	if fontStyle = stFontStyle[4] then iFontStyle = 4	! Underline&lt;BR /&gt;
return&lt;BR /&gt;
&lt;BR /&gt;
3000:											! Show Frame: just the inlines&lt;BR /&gt;
	pen Pen_Box&lt;BR /&gt;
	line2 0,-vlen,widthStamp,-vlen&lt;BR /&gt;
return&lt;BR /&gt;
&lt;BR /&gt;
4000:&lt;BR /&gt;
if bAnchorPoint then&lt;BR /&gt;
	if pointAnchor = placePointAnchor[1] then add2 0,				0				! Top Left&lt;BR /&gt;
	if pointAnchor = placePointAnchor[2] then add2 -widthStamp, 	0				! Top Right&lt;BR /&gt;
	if pointAnchor = placePointAnchor[3] then add2 -widthStamp/2, 	-heightStamp/2	! Center&lt;BR /&gt;
	if pointAnchor = placePointAnchor[4] then add2 0, 				-heightStamp	! Bottom Left&lt;BR /&gt;
	if pointAnchor = placePointAnchor[5] then add2 -widthStamp, 	-heightStamp	! Bottom Right&lt;BR /&gt;
else&lt;BR /&gt;
	add2 -widthStamp/2, 	-heightStamp/2&lt;BR /&gt;
endif&lt;BR /&gt;
return&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;&lt;FONT color="#DA0000"&gt;Properties&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
!Zone Stamp *DIN · ©GRAPHISOFT 1996 · VL&lt;BR /&gt;
&lt;BR /&gt;
catname = ""&lt;BR /&gt;
catcode = ""&lt;BR /&gt;
rrr=request("Zone_category", "", catname, catcode)&lt;BR /&gt;
&lt;BR /&gt;
if din_area and catcode &amp;lt; "A" then&lt;BR /&gt;
  if catcode = "0 BGF" then&lt;BR /&gt;
	 component "Gross Area", ROOM_AREA, "m2"&lt;BR /&gt;
  else&lt;BR /&gt;
	 component "Net Area", ROOM_AREA, "m2"&lt;BR /&gt;
	 if catcode &amp;lt; "8 FF" then&lt;BR /&gt;
		component "Area of Use" , ROOM_AREA, "m2"&lt;BR /&gt;
		if catcode &amp;lt; "7 NNF"  then&lt;BR /&gt;
		   component "Main Area of Use", ROOM_AREA, "m2"&lt;BR /&gt;
		else&lt;BR /&gt;
		   component "Additional Area of Use", ROOM_AREA, "m2"&lt;BR /&gt;
		endif&lt;BR /&gt;
	 else&lt;BR /&gt;
		if catcode &amp;lt; "9 VF" then&lt;BR /&gt;
		  component "Service Area" , ROOM_AREA, "m2"&lt;BR /&gt;
		else&lt;BR /&gt;
		  component "Traffic Area" , ROOM_AREA, "m2"&lt;BR /&gt;
		endif&lt;BR /&gt;
	 endif&lt;BR /&gt;
  endif&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;&lt;FONT color="#F50000"&gt;Parameter&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
! ==============================================================================&lt;BR /&gt;
! Fontnames list&lt;BR /&gt;
! ==============================================================================&lt;BR /&gt;
&lt;BR /&gt;
!!!!********************************************!!!!&lt;BR /&gt;
PARAMETERS gs_list_cost = gs_list_cost&lt;BR /&gt;
!!      n=n, shight = shight, YY = YY&lt;BR /&gt;
!!!!********************************************!!!!&lt;BR /&gt;
&lt;BR /&gt;
dim fontNames[]&lt;BR /&gt;
n = request("FONTNAMES_LIST", "", fontNames)&lt;BR /&gt;
&lt;BR /&gt;
values "AC_TextFont_1"		fontNames, custom&lt;BR /&gt;
values "fontNumRoom"		fontNames, custom&lt;BR /&gt;
values "zonofont"			fontNames, custom&lt;BR /&gt;
values "areafont"			fontNames, custom&lt;BR /&gt;
values "codefont"			fontNames, custom&lt;BR /&gt;
values "perifont"			fontNames, custom&lt;BR /&gt;
values "ceilhfont"			fontNames, custom&lt;BR /&gt;
values "volumeFont"			fontNames, custom&lt;BR /&gt;
&lt;BR /&gt;
values "zonastyle" 				stFontStyle&lt;BR /&gt;
values "styleNumRoom"			stFontStyle&lt;BR /&gt;
values "zonostyle" 				stFontStyle&lt;BR /&gt;
values "areastyle" 				stFontStyle&lt;BR /&gt;
values "codestyle" 				stFontStyle&lt;BR /&gt;
values "peristyle" 				stFontStyle&lt;BR /&gt;
values "ceilhstyle" 			stFontStyle&lt;BR /&gt;
values "volumeStyle" 			stFontStyle&lt;BR /&gt;
&lt;BR /&gt;
values "just" "Left-Justified", "Centered", "Right-Justified"&lt;BR /&gt;
&lt;BR /&gt;
values "ceiltype" "Value","Typical"&lt;BR /&gt;
&lt;BR /&gt;
If zonapen = 0 			then parameters 	zonapen = 5&lt;BR /&gt;
If penNumRoom = 0 		then parameters 	zonapen = 5&lt;BR /&gt;
If zonopen = 0 			then parameters 	zonopen = 5&lt;BR /&gt;
If areapen = 0 			then parameters 	areapen = 5&lt;BR /&gt;
If codepen = 0 			then parameters 	codepen = 5&lt;BR /&gt;
If peripen = 0 			then parameters 	peripen = 5&lt;BR /&gt;
If ceilhpen = 0 		then parameters 	ceilhpen = 5&lt;BR /&gt;
If volumePen = 0 		then parameters 	penVolume = 5&lt;BR /&gt;
If Pen_Box = 0 			then parameters 	Pen_Box = 6&lt;BR /&gt;
&lt;BR /&gt;
values "pointAnchor" 			placePointAnchor&lt;BR /&gt;
values "typeCodeMat"			listCodeMat&lt;BR /&gt;
values "typeDisplayMat"			listDisplayMat&lt;BR /&gt;
values "typeFrameMat" 			listFrameMat&lt;BR /&gt;
values "widthStampPoint" 		range (0,]&lt;BR /&gt;
values "widthStampMM" 			range (0,]&lt;BR /&gt;
values "widthStampLength_model" 	range (0,]&lt;BR /&gt;
values "widthStampLength_modelPer2"	range (0,]&lt;BR /&gt;
&lt;BR /&gt;
if not(bAnchorPoint) then&lt;BR /&gt;
	hideparameter "pointAnchor"&lt;BR /&gt;
	pointAnchor = `Center`&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
if box_y = 0 then&lt;BR /&gt;
	hideparameter "inline","bFrameZoneName", "Pen_Box"&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
if bFrameZoneName then hideparameter "bZoneNameAllign"&lt;BR /&gt;
&lt;BR /&gt;
if name = 0 then&lt;BR /&gt;
	hideparameter "AC_TextFont_1", "zonastyle", "zonajust", "zonapen", "cn_zn", "bFrameZoneName","bZoneNameAllign"&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
if bNumRoom = 0 then&lt;BR /&gt;
	hideparameter "textNumRoom", "fontNumRoom", "styleNumRoom", "penNumRoom"&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
if num = 0 then&lt;BR /&gt;
	hideparameter "zonofont", "zonostyle", "zonojust", "zonopen"&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
if area = 0 then&lt;BR /&gt;
	hideparameter "areafont", "areastyle", "areajust", "areapen", "din_area"&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
if code = 0 then&lt;BR /&gt;
	hideparameter "typeCodeMat", "typeDisplayMat", "basec","wallc","ceilc","codefont", "codestyle", "codepen"&lt;BR /&gt;
	hideparameter "listCodeFloorMat", "listCodeWallMat", "listCodeCeilMat","textNameFloorMat","textNameWallMat","textNameCeilMat"&lt;BR /&gt;
	hideparameter "typeFrameMat"&lt;BR /&gt;
else&lt;BR /&gt;
	if typeCodeMat = `by Custom Code` then&lt;BR /&gt;
		hideparameter "listCodeFloorMat", "listCodeWallMat", "listCodeCeilMat","textNameFloorMat","textNameWallMat","textNameCeilMat"&lt;BR /&gt;
	else&lt;BR /&gt;
		if typeCodeMat = `by Code and Name` then&lt;BR /&gt;
			hideparameter "basec", "wallc", "ceilc"&lt;BR /&gt;
		else&lt;BR /&gt;
			if typeCodeMat = `by Material Name` then&lt;BR /&gt;
				hideparameter "basec", "wallc", "ceilc","textNameFloorMat","textNameWallMat","textNameCeilMat"&lt;BR /&gt;
			endif&lt;BR /&gt;
		endif&lt;BR /&gt;
	endif&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
if peri = 0 then&lt;BR /&gt;
	hideparameter "perifont", "peristyle", "perijust", "peripen"&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
if ceil_s = 0 then&lt;BR /&gt;
	hideparameter "ceilhfont", "ceilhstyle", "ceilhjust", "ceilhpen", "ceiltype"&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
if volume = 0 then&lt;BR /&gt;
	hideparameter "volumeFont", "volumeStyle", "volumePen"&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
! ==============================================================================&lt;BR /&gt;
! mm / point conversion&lt;BR /&gt;
! ==============================================================================&lt;BR /&gt;
&lt;BR /&gt;
MM_TO_DOT = 72 / 25.4&lt;BR /&gt;
&lt;BR /&gt;
!!! Synhronized mm and point in marker width&lt;BR /&gt;
if GLOB_MODPAR_NAME = "widthStampMM" then&lt;BR /&gt;
	parameters widthStampPoint = widthStampMM * MM_TO_DOT&lt;BR /&gt;
	parameters widthStampLength_model = widthStampMM * PAPER_TO_MODEL&lt;BR /&gt;
	parameters widthStampLength_modelPer2 = widthStampMM * PAPER_TO_MODEL / 2&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
if GLOB_MODPAR_NAME = "widthStampPoint" then&lt;BR /&gt;
	parameters widthStampMM = widthStampPoint / MM_TO_DOT&lt;BR /&gt;
	parameters widthStampLength_model = widthStampMM * PAPER_TO_MODEL / MM_TO_DOT&lt;BR /&gt;
	parameters widthStampLength_modelPer2 = widthStampMM * PAPER_TO_MODEL / MM_TO_DOT / 2&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
! ==============================================================================&lt;BR /&gt;
! real / paper size conversion&lt;BR /&gt;
! ==============================================================================&lt;BR /&gt;
&lt;BR /&gt;
if GLOB_MODPAR_NAME = "widthStampLength_model" then&lt;BR /&gt;
	parameters widthStampPoint = widthStampLength_model / PAPER_TO_MODEL * MM_TO_DOT&lt;BR /&gt;
	parameters widthStampMM = widthStampLength_model / PAPER_TO_MODEL&lt;BR /&gt;
	parameters widthStampLength_modelPer2 = widthStampLength_model / 2&lt;BR /&gt;
endif&lt;BR /&gt;
if GLOB_MODPAR_NAME = "widthStampLength_modelPer2" then&lt;BR /&gt;
	parameters widthStampLength_model = widthStampLength_modelPer2 * 2&lt;BR /&gt;
	parameters widthStampPoint = widthStampLength_modelPer2 * 2 / PAPER_TO_MODEL * MM_TO_DOT&lt;BR /&gt;
	parameters widthStampMM = widthStampLength_modelPer2 * 2 / PAPER_TO_MODEL&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;&lt;FONT color="#F50000"&gt;No Components or Descriptors shown - perhaps answer is found in Properties ? "m2 " ?? &lt;/FONT&gt;&lt;/B&gt;</description>
      <pubDate>Tue, 05 Feb 2013 21:49:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218297#M27827</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2013-02-05T21:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Costs/SF Costs/Total</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218298#M27828</link>
      <description>Or you can use ArchiQuant by Cigraph.</description>
      <pubDate>Thu, 21 Feb 2013 11:11:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Costs-SF-Costs-Total/m-p/218298#M27828</guid>
      <dc:creator>KeesW</dc:creator>
      <dc:date>2013-02-21T11:11:39Z</dc:date>
    </item>
  </channel>
</rss>

