I have a named polygon created using scicompanion. As well as the other polygons which fall under the default name.
I am adding the polygons at init
(method (init)
AddPolygonsToRoom(@P_Default35)
AddPolygonsToRoom(@P_SkimmerPoly)
(super:init())
If the skimmer is gone, which corresponds to the skimmer poly, I have been unsuccessful at removing the polygon.
I tried the code from both eqoquest and kq6, which is pretty much identical. I am assuming that global2 maps to gRoom, which might be part of my problem if I am mistaken there.
(send ((send gRoom:obstacles)):delete(@P_SkimmerPoly))
I tried it with and without the @ symbol. Both ways compile fine, however the poly is ever present. Anyone have any ideas on how to accomplish the removal of the polygon generated by companion and housed in the shp file. I should be able to take it out of the shp file and actually code it to an instance of poly and try again, which I will probably do for testing, but that loses the ease of use that Troflip built into scicompanion for working with the polygons. So I would rather not make that plan a