Forum Replies Created
I’ve attached the object I’ve started working on.
AS you’ll see, I’m trying to have horizontal or vertical battens and be able to measure the length of all battens in the object.
I’m trying to create objects for a prefab building system.
The objects represent elements of the system which are wall, floor and roof.
The wall elements have battens, moisture membranes, etc. I’ve now added those components via the components list within the object. I’d like to update their quantities when the objects are resized or options are changed.
For example, the wall object can have battens on the inside, outside or both. It seems like the best way to calculate the quantities of the battens is when they’re being drawn as then you can update some number every time you draw a new batten. However it seems like there is no way to share variables between scripts.
I’m looking for some way of sharing varibales or parameters between scripts that can then be accessed by the component list.
Is this the correct approach, or is this not possible?
Yeah, pretty much.
Is that a standard library object?
I’m trying to create a system of objects for a prefab building system, where instead of using the usual wall/floor/roof elements, objects can be inserted into the model that represent the modules of the prefab system.
If you could simply place windows into the wall objects, that would be a really great way to build the model.