Glad to see that this is still being developed. What are the plans for the future? Is this open source or are there plans to commercialize this? I’m curious if this is something we could fork and continue development on. I’m looking to bring similar functionality into Rhino to manage some of the data we are writing into blocks for our construction documentation workflows.
It is not open source and most likely never will be. Commercialization is on the table yes. There is a very rough API that can be used to interact with the base system, the Grasshopper Plugin is built from this.
Doesn’t seem to work in RIR. IT says plugin failed to load. I’m using Rhino 8 and Revit 2024.
The grasshopper plugin crashes rhino when inside Revit. See error below. Grasshopper will crash Revit and Rhino.
Object: AF_GH_PropertyTypeDeconstruct (level 1)
{
Exception has been thrown by the target of an invocation.
TargetInvocationException
}
Object: AF_GH_PropertyTypeDeconstruct (level 2)
{
The type initializer for ‘AntFarm.AntFarm’ threw an exception.
TypeInitializationException
}
Object: AF_GH_PropertyTypeDeconstruct (level 3)
{
Could not load file or assembly ‘System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.
FileNotFoundException
}
Object: AF_GH_AttributeTypeConstruct (level 1)
{
Exception has been thrown by the target of an invocation.
TargetInvocationException
}
Object: AF_GH_AttributeTypeConstruct (level 2)
{
The type initializer for ‘AntFarm.AntFarm’ threw an exception.
TypeInitializationException
}
Object: AF_GH_AttributeTypeConstruct (level 3)
{
Could not load file or assembly ‘System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.
FileNotFoundException
}
hello @Christian_Hartz , would it be possible to add a feature where one can add objects to data sets by layer? I think this would greatly extend the capabilities of AntFarm wherein the user could basically create almost a custom command. For example, let’s say I’m in a BIM setting, I intend to create a wall element from layers; I can create a layer called Walls, then filter out for curve geometry and then AntFarm references the layer, hence applies the preexisting properties one creates. In this case, I almost have my own BIM UI.
Hey,
sorry for the late reply. There is a workflow for this.
- Create a dataset. At the bottom of each dataset you find a statusbar (colour, name, Track Objects [Toggle], Object Filter [Default is ‘None’, but you can set it when creating the dataset], Attached Layer [this is what you want - default is ‘None’], UserString).
- Click on either one of the ‘None’ and a Rhino command line is showing.
- Toggle ‘IsTracking’ and you get additional options in the command line.
- Set option ‘Layer’ to a layer of choice.
- Press ‘Enter’ to commit the command.
Any object created in that layer will show up in this specific dataset. You can have several dataset tracking the same layer or any dataset tracking different layers. If you want to stop the tracking just toggle the ‘Track Objects’ toggle button (bold when turn on - normal font when off).
Hope this helps.
Kindest
Christian
Thanks, Christian. I’ll check that out.
Hey @attheeast18 ,
hope this helps. You get two options after setting ‘IsTracking’ to ‘Yes’. Please select ‘Layer’ instead of ‘RhinoObjectFilter’.
Let me know and any feedback is welcome.
Kindest
Christian
Hi , Christian
Sorry, but I’m still not getting it. There is no “Layer” option when I turn on Tracking. I downloaded beta version 0.64.
Hi, Christian. Any update on this issue?
Hi,
Thank you very much for developing this tool.
It’s very useful.
I have a small problem with the dataset.
When I change the size of a brep, the area of my dataset doesn’t change.
The update is not automatic.
Before :
After :
Does anyone else have the same problem?
Is this normal behavior with the latest version?
Thank you for your help.
Mathilde
I thought that a work around to not being able to update through the SQL query component would be to create a c# script that uses:
object pluginObject = RhinoApp.GetPlugInObject(“707c7d18-f664-4880-80d2-3bf03401087c”);
object antFarm = pluginObject as AntFarm.API.AntFarmAPI;
I can can then access any methods in the api. I’m trying to figure out how to set a value on a record. I can’t see to find it. Class APIRecord
I assume that there are basic CRUD operations on the records exposed through the API?