hexagon logo

How to delete atire wheel/road using cmd-script

Is there a possibility to delete atire wheel_tire/road elements unsing CMD-script? I can only find the comands to create and modifiy atire objects but no comand to delete those objects.
Parents
  • Thanks for the fast reply.
    It's kind of funny, when I do exactly what you suggested (RMB->Delete) the Tires are removed from my model, but no commands appear un my command window/log-file.
    When I use the two lines you posted in a cmd script they actually do what they should. They remove the tire from the model.
    Unfortunately, when I do the same thing with the road I get a warning that the road has dependents, which also have to be deleted (see attachment). When I select “delete all” the road is still there but would not work anymore. I also tried to delete those objects first (marker and joint), resulting in a message, that the objects belong to an assembly and can’t be deleted.
    Is there a possibility of deleting the whole road assembly via script?
Reply
  • Thanks for the fast reply.
    It's kind of funny, when I do exactly what you suggested (RMB->Delete) the Tires are removed from my model, but no commands appear un my command window/log-file.
    When I use the two lines you posted in a cmd script they actually do what they should. They remove the tire from the model.
    Unfortunately, when I do the same thing with the road I get a warning that the road has dependents, which also have to be deleted (see attachment). When I select “delete all” the road is still there but would not work anymore. I also tried to delete those objects first (marker and joint), resulting in a message, that the objects belong to an assembly and can’t be deleted.
    Is there a possibility of deleting the whole road assembly via script?
Children
No Data