l data branch instead of once for each piece of data received in a branch
To explain what i am doing, lets say I have 10 points, with different X and Y - I want to use grasshopper to generate the code like (Where X1, Y1 etc are X in position 1, y for position 1 etc):
"
<Points>
<Point ID="1" y="y1" x = "x1"/>
<Point ID="2" y="y2" x = "x2"/>
.
.
.
.
.
.
.
<Point ID="10" y="y10" x = "x10"/>
</points>
"
Sort of got it working - but of course I am generating 10 sets of code with 10 points but the same X and Y.
The VBA setup and code I am using are below.
X is X1 to X10
Y is Y1 to Y10
u is a count (so I can loop through each X/Y pair).
Any help, or suggestions of better ways would be most appreciated!
Cheers
LyndonJ
…
ure here: http://www.openfoam.com/download/install-binary-windows.php
This I found by following the instructions here:
https://github.com/ladybug-tools/butterfly/wiki/Getting-started-with-butterfly-in-grasshopper
HOWEVER:
At home here on my newer, faster Windows 10 machine - no such luck. This is becoming quite frustrating as I feel I am failing some obscure intelligence test.
I have attached what I suspect is the likely problem identifier - not that it has helped me identify the fix. What I believe is the salient message is appears in the OF_Env_Create Powershell Window (Running as Administrator) , which is step 3 on the Windows 10 special instructions found here:
https://github.com/ladybug-tools/butterfly/wiki/Windows-10-Installation-Notes
The message (in red as can be seen in the attached picture) states:
Set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope. Due to the override, your shell will retain its current effective execution policy of "Unrestricted". Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more information , please see "Get-Help Set-ExecutionPolicy." At C:\Users\Michael\AppData\Local\Temp\Quest Software\PowerGUI\18d7ce54-562c-4f2b-b985-3c24b83cae50\of_create_container.ps1:1 char:20 + Set-ExecutionPolicy <<<< bypass + CategoryInfo : PermissionDenied: (:) [Set-ExecutionPolicy], SecurityException + FullyQualifiedErrorId : ExecutionPolicyOverride,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand
M…
to second VB is it sing like EH_objectWrapper. What i can do with this type? How i can call same array structure like in first VB? .. aa(0)(10) etc.
PLease some tips. Thank a lot
Joach…
Added by Jachym Pesek at 3:58pm on September 17, 2009
rs. so if i have a min of 0 and a max of 10 i wouild have lets say ( 0-2.5, 2.5-5, 5-7.5, 7.5-10) and then plug them into 4 prototypical geometries.
so let say if the areas is between the first range then use (type 01) and so on.
thanks
A…
is by creating a null item on a branch {35} and then the closest point component worked. Does anyone know how to control this parametrically? e.g. check one tree structure which might go 0->10 with another one which is maybe 0,1,2,3,4, 6,7,8,9,10 and produce a null branch where something is missing?…
n increase when i increase A value. i tried grafting my serie but it doesn't change anything.
i allready tried to compare length (x) with the same list shifted by 1 (y) with f(x) = y, then dispatch into 2 lists but it doesn't give interesting resuts for the moment…
you supply only a single index in Imap, then it will assume that the entire SetB is to be inserted at that location. It's only when you supply an equal number of elements in SetB and Imap that a per-element insertion takes place.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 2:18pm on September 10, 2010
xes and they height of the extrusions. Depending on the scale you are working on, it is possible to any box size, not only 10, so any other amount is possible.
See attached images for the solution
Gordon…