Im trying to create a space from elements- using the _vaSpatialObjectSet command. However i get no result from it- the space command works when clicking within a space, or by curve. I presumed it was a bug in my file, but I have recreated this same error in a new file by creating a new bunch of walls and slabs.
To clarify-why im in this fix- I am trying to create a set of spaces(of rooms) enclosed within a larger space- and it doesnt seem to be possible to hide(or lock the internal partition walls and clicking inside the space)
The _vaSpatialObjectSet command is used to define an object (a curve, a polysurface, a railing,…) as something to be considered a space delimiter when inserting spaces by point. By default, only walls, curtain walls, columns, and openings are spatial elements, that if they enclose 100% of an area, it will be valid to insert a space in it.
If you need to create a space that includes other spaces, the only way to do it is by creating that space from a curve or from a surface. The insertion of a space object by picking an inner point will detect the spatial elements around even if they are hidden.
I’m sorry, but spaces defined by curve or surface will never take into account spatial objects (walls, columns or marked curves), as it is not possible.
The problem is that if a space is defined by a curve, and you mark a curve that divides the space by two, there is not enough information to know which side of the space should remain. Spaces defined by points have a point that tells the space which side to keep.
In your case, why don’t you mark the original contour curve as spatial object, and then create a space by point using a point inside the curve? Then, any additional spatial object will be considered also.
This is a great idea. I tested and it works well, it mostly works; I have what looks to be a graphic issue that I need to test (maybe post in a new thread).
Is there a component for this in Grasshopper? To take use a contour + a point to create a vaSpace that interacts with vaSpatialObjects?
For example, I would like to bring a list of curves, each branch referencing a unique Space (as example). Inputs for each branch would be: a) Spatial boundary of crvs b) a point inside that boundary c) list of spatial elements to include / exclude from perimeter.
Right now it is not possible to set geometry as spatial elements in GH. Also take into account that if you use a Point as input geometry, the space object won’t be calculated until you bake it, when it will try to detect the surrounding spatial elements, such as walls or objects set as spatial objects.
I would be interested to learn more how this is achieved because I have similar queries to run with Urban Planning scenarios, where area and plot calculations involved nested combinations of floor plates (surfaces), buildings (as volumes) and plots (as 2D curves); for example, I want to know which surface is inside which building (that is similarly within which plot).
-The VA method seems to know which Spatial Elements are candidates and then can run the area calculations accurately.
Is the documentation for the _vaSpace commands available?