<?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: Store Profile data in GDL Parameters using Request in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Store-Profile-data-in-GDL-Parameters-using-Request/m-p/704384#M8482</link>
    <description>&lt;P&gt;You cannot put the information into a parameter though, but you can request the x/y min/max to have a user comparison value to scale against.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jun 2026 07:31:09 GMT</pubDate>
    <dc:creator>Lingwisyer</dc:creator>
    <dc:date>2026-06-04T07:31:09Z</dc:date>
    <item>
      <title>Store Profile data in GDL Parameters using Request</title>
      <link>https://community.graphisoft.com/t5/GDL/Store-Profile-data-in-GDL-Parameters-using-Request/m-p/703538#M8461</link>
      <description>&lt;P&gt;I'm trying to extract data from a profile and memorize them in the parameters of an objects using REQUEST.&lt;/P&gt;
&lt;P&gt;It seams this option is not possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the code I used in parameter script.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dim geometry []
dim nnn[]
dim xx[]
dim yy[]
n = REQUEST ("Profile_default_geometry", ar_profile_type, geometry)
nnn[1] = geometry [1]

for t = 1 to nnn[1]
	xx[t] =  geometry[1+(t-1)*5+1]
	yy[t] =  geometry[1+(t-1)*5+2]
next t

parameters xx = xx
parameters yy = yy

&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you never have this kind of issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Mac Apple Silicon Sequoia&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2026 16:47:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Store-Profile-data-in-GDL-Parameters-using-Request/m-p/703538#M8461</guid>
      <dc:creator>Mario Sacco</dc:creator>
      <dc:date>2026-05-24T16:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Store Profile data in GDL Parameters using Request</title>
      <link>https://community.graphisoft.com/t5/GDL/Store-Profile-data-in-GDL-Parameters-using-Request/m-p/703553#M8463</link>
      <description>&lt;P&gt;Curious to know what is the purpose of this?&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2026 01:25:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Store-Profile-data-in-GDL-Parameters-using-Request/m-p/703553#M8463</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2026-05-25T01:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Store Profile data in GDL Parameters using Request</title>
      <link>https://community.graphisoft.com/t5/GDL/Store-Profile-data-in-GDL-Parameters-using-Request/m-p/703559#M8464</link>
      <description>&lt;P&gt;Not what you want to hear,&amp;nbsp; in the GDL manual:&lt;/P&gt;
&lt;P&gt;Compatibility: introduced in Archicad 21.&lt;BR /&gt;PROFILE_DEFAULT_GEOMETRY&lt;BR /&gt;n = REQUEST("PROFILE_DEFAULT_GEOMETRY", name_or_index, n1, n2, ..., nm,&lt;BR /&gt;x11, y11, edgeVisible11, vertEdgeVisible11, additionalStatus11, ...,&lt;BR /&gt;x1n1, y1n1, edgeVisible1n1, vertEdgeVisible1n1, additionalStatus1n1,&lt;BR /&gt;x21, y21, edgeVisible21, vertEdgeVisible21, additionalStatus21, ...,&lt;BR /&gt;x2n2, y2n2, edgeVisible2n2, vertEdgeVisible2n2, additionalStatus2n2,&lt;BR /&gt;...,&lt;BR /&gt;xm1, ym1, edgeVisiblem1, vertEdgeVisiblem1, additionalStatusm1, ...,&lt;BR /&gt;xmnm, ymnm, edgeVisiblemnm, vertEdgeVisiblemnm, additionalStatusmnm)&lt;BR /&gt;Returns the original geometric data of the profile identified by name or index.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Expression returns 0 and contains dummy return values (empty string&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;or 0) if used in parameter script (or master scripts run as parameter script), causing additional warning.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the values in the script, but&amp;nbsp;you cannot use the "Parameters" command to assign the values to the objects parameters.&lt;/P&gt;
&lt;P&gt;I hope this is useful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2026 02:20:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Store-Profile-data-in-GDL-Parameters-using-Request/m-p/703559#M8464</guid>
      <dc:creator>AllanP</dc:creator>
      <dc:date>2026-05-25T02:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Store Profile data in GDL Parameters using Request</title>
      <link>https://community.graphisoft.com/t5/GDL/Store-Profile-data-in-GDL-Parameters-using-Request/m-p/704379#M8480</link>
      <description>&lt;P&gt;I want to extract the shape of a profile for a next further possibility to edit it in the objects....It is our ArchiRADAR problem to make everything complex for us in the code but simple for the users!!:-)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-06-04 alle 08.57.44.jpg" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/101795i133F0F0521602D50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-06-04 alle 08.57.44.jpg" alt="Screenshot 2026-06-04 alle 08.57.44.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 06:58:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Store-Profile-data-in-GDL-Parameters-using-Request/m-p/704379#M8480</guid>
      <dc:creator>Mario Sacco</dc:creator>
      <dc:date>2026-06-04T06:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Store Profile data in GDL Parameters using Request</title>
      <link>https://community.graphisoft.com/t5/GDL/Store-Profile-data-in-GDL-Parameters-using-Request/m-p/704383#M8481</link>
      <description>&lt;P&gt;Here my 2 ct.:&lt;BR /&gt;&lt;BR /&gt;I request it in Masterscript this way - so its adressable from 2D and 3D-script later over renaming "myProfileIdx" before jumping to this function:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;gosub 1000




! ==================================================================
! PROFIL-ÜBERNAHME
! ==================================================================
"Profil übernehmen":
    COMPTYPE_CORE = 0
    COMPTYPE_FINISH = 1
    COMPTYPE_OTHER = 2
    
    if GLOB_SCRIPT_TYPE = 2 or GLOB_SCRIPT_TYPE = 3 then
        _nComponents = 0
        dim _componentTypes[]
        n = REQUEST{2} ("Profile_components", myProfileIdx, _nComponents, _componentTypes)
        n2 = REQUEST ("Profile_default_boundingbox",  myProfileIdx, _xmin, _ymin, _xmax, _ymax)
    
        if n then
            dim _bShowPart[]
            _needRequestDetails = 0
            for _i = 1 to _nComponents
                _bShowPart[_i] = 1    
                if GLOB_STRUCTURE_DISPLAY = 1 AND _componentTypes[_i] &amp;lt;&amp;gt; COMPTYPE_CORE then _bShowPart[_i] = 0   
                if GLOB_STRUCTURE_DISPLAY = 2 AND _componentTypes[_i] = COMPTYPE_FINISH then _bShowPart[_i] = 0
                if _bShowPart[_i] then _needRequestDetails = 1
            next _i
        
            if _needRequestDetails then
                dim _profileGeometryRawData[]
                n = REQUEST ("Profile_default_geometry", myProfileIdx, _profileGeometryRawData)
                dim _contStartPoints[], _contEndPoints[]
                _contStartPoints[1] = _nComponents + 1
                for _i = 2 to _nComponents
                    _contStartPoints[_i] = _contStartPoints[_i - 1] + _profileGeometryRawData[_i - 1] * 5
                    _contEndPoints[_i-1] = _contStartPoints[_i] - 1
                next _i
                _contEndPoints[_nComponents] = vardim1(_profileGeometryRawData)
            endif
        endif
    endif
return

1000:&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Then - in 2D or here in 3D, i "make something" out of its data:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;! ----------------------------------------------------------
        ! 4. HANDLAUF-SEGMENT (Zieht das Randlaufprofil)
        ! ----------------------------------------------------------
        if isOuter = 1 then
            myProfileIdx = Randlaufprofil  
            gosub "Profil übernehmen" 
            hl_versatz = -0.015
            
            if n then
                for _iComp = 1 to _nComponents
                    if _bShowPart[_iComp] then
                        dim _currSurfaces[]
                        n = REQUEST{3} ("Profile_component_info", myProfileIdx, _iComp, "gs_profile_comp_surfaces", _currSurfaces)
                        _bmat = 1 : _surface = 1 : _pen = 1
                        n = REQUEST{3} ("Profile_component_info", myProfileIdx, _iComp, "gs_profile_bmat", _bmat)
                        n = REQUEST{3} ("Profile_component_info", myProfileIdx, _iComp, "gs_profile_surface", _surface)
                        n = REQUEST{3} ("Profile_component_info", myProfileIdx, _iComp, "gs_profile_outlinepen", _pen)
                        building_material _bmat : pen _pen
            
                        _routePts = 4  
                        put (_contEndPoints[_iComp] - _contStartPoints[_iComp] + 1) / 5, _routePts, 1 + 2 + 16 + 32
            
                        _surfIdx = 1
                        for _i = _contStartPoints[_iComp] to _contEndPoints[_iComp] step 5
                            put _profileGeometryRawData[_i] - hl_versatz, _profileGeometryRawData[_i + 1], _profileGeometryRawData[_i + 2] + _profileGeometryRawData[_i + 3] + _profileGeometryRawData[_i + 4], _currSurfaces[_surfIdx] 
                            _surfIdx = _surfIdx + 1
                        next _i
            
                        tube_dx = rx2 - rx1 : tube_dy = ry2 - ry1 : tube_dz = rz2 - rz1
                        put rx1 - tube_dx,  ry1 - tube_dy,  rz1 + h_gel - tube_dz,  0 
                        put rx1,            ry1,            rz1 + h_gel,            0 
                        put rx2,            ry2,            rz2 + h_gel,            0 
                        put rx2 + tube_dx,  ry2 + tube_dy,  rz2 + h_gel + tube_dz,  0 
        
                        tube{2} _surface, _surface, _surface, get (NSP)
                    endif
                next _iComp
            endif&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Thats the part for the hatches within the Profile:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;_routePts = 4
put (_contEndPoints[_iComp] - _contStartPoints[_iComp] + 1) / 5, _routePts, 1 + 2 + 16 + 32

_surfIdx = 1
for _i = _contStartPoints[_iComp] to _contEndPoints[_iComp] step 5
put _profileGeometryRawData[_i] - hl_versatz, _profileGeometryRawData[_i + 1], _profileGeometryRawData[_i + 2] + _profileGeometryRawData[_i + 3] + _profileGeometryRawData[_i + 4], _currSurfaces[_surfIdx]
_surfIdx = _surfIdx + 1
next _i&lt;/LI-CODE&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;And this is the Part for the route:&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;tube_dx = rx2 - rx1 : tube_dy = ry2 - ry1 : tube_dz = rz2 - rz1
put rx1 - tube_dx, ry1 - tube_dy, rz1 + h_gel - tube_dz, 0
put rx1, ry1, rz1 + h_gel, 0
put rx2, ry2, rz2 + h_gel, 0
put rx2 + tube_dx, ry2 + tube_dy, rz2 + h_gel + tube_dz, 0&lt;/LI-CODE&gt;&lt;BR /&gt;So - the data for the profile-hatches is "insorted" in the memory-stack with "put" und used from there with "get".&lt;BR /&gt;&lt;BR /&gt;If You alter some of this coordinates before using it with "put" for the profile for the tube with some editable hotspots or adding some other variables to this coordinates - this should solve your issue.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;My example is from here: AC29EduAut - a "stairway" through all needed storeys at once.&lt;BR /&gt;&lt;SPAN&gt;&lt;A href="https://www.dropbox.com/scl/fi/qjxgpui280vht0wy6j1v8/TreppeDuchAlleGescho-e_K.pln?rlkey=58krdww7nzt4falbkehik4dpv&amp;amp;st=w8t1eake&amp;amp;dl=1" target="_blank" rel="noopener"&gt;https://www.dropbox.com/scl/fi/qjxgpui280vht0wy6j1v8/TreppeDuchAlleGescho-e_K.pln?rlkey=58krdww7nzt4falbkehik4dpv&amp;amp;st=w8t1eake&amp;amp;dl=1&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;german.&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=jopu13MEEQk" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=jopu13MEEQk&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 12:36:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Store-Profile-data-in-GDL-Parameters-using-Request/m-p/704383#M8481</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2026-06-04T12:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Store Profile data in GDL Parameters using Request</title>
      <link>https://community.graphisoft.com/t5/GDL/Store-Profile-data-in-GDL-Parameters-using-Request/m-p/704384#M8482</link>
      <description>&lt;P&gt;You cannot put the information into a parameter though, but you can request the x/y min/max to have a user comparison value to scale against.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 07:31:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Store-Profile-data-in-GDL-Parameters-using-Request/m-p/704384#M8482</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2026-06-04T07:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Store Profile data in GDL Parameters using Request</title>
      <link>https://community.graphisoft.com/t5/GDL/Store-Profile-data-in-GDL-Parameters-using-Request/m-p/704389#M8483</link>
      <description>&lt;P&gt;The only way to get the "not working in parameters script" requests data into usable parameters is to pass it through the text file, write the content in UI script, and load in master/parameter script.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 08:40:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Store-Profile-data-in-GDL-Parameters-using-Request/m-p/704389#M8483</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2026-06-04T08:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Store Profile data in GDL Parameters using Request</title>
      <link>https://community.graphisoft.com/t5/GDL/Store-Profile-data-in-GDL-Parameters-using-Request/m-p/704393#M8484</link>
      <description>&lt;P&gt;You would have to select the profile, close the object, then reopen it to get it to read?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 09:09:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Store-Profile-data-in-GDL-Parameters-using-Request/m-p/704393#M8484</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2026-06-04T09:09:00Z</dc:date>
    </item>
  </channel>
</rss>

