I’ve spend a good deal of time in order to get this to work, but I’ve still not succeeded, so I’m gonna ask here.
Im in an ARC model with a MEP model linked in. I need to extract the location of all firehose cabinets, place a void in the same location, make it cut the wall geometry. This would be easy if all the walls where facing the same direction, but this is often not the case :-). So the firehose cabinet is naturally rotated (90, 180 or 270 degrees) around it’s own z-axis, to accommodate the direction of the wall its hosted in. And this is where i run my head into a wall. I can get the graph to extract the location of the cabinet, place the void, and rotate it, but the voids don’t rotate the propper amount of degrees. I think this can be solved with some sort of mapping of coordinates between the elements, but I just cant figure out what I need to do, to get this done.
When I compare the elementID’s of the list of cabinets, and the list of voids, and then check them in the model, I can see, that the first element of the lists are not corrosponding.
Info: The void family is created just like the firehose cabinet, so if the cabinet is placed at 0 degrees, then the void is placed correctly.
Hope the info is sufficient.
Best regards, Martin