Problem with the Delete Function.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with the Delete Function.

hboler
I am trying to delete a rectangle ground that I have defined as follows.

    <NEW-FRAME Center="(0, -.375, 0)" Quat="(0, 0, 1)(90)" ID="F7"/>
    <NEW-GROUND Type="Rectangle" DimY=".1" DimZ=".1" FrameID="F7" ID="G7"/>

using the following code

   <DELETE What="Physic::GroundT<Rectangle>" ID ="G7"/>

However, I am receiving an error as Can't find the required item to delete with ID 'G7'

Note that, the ground was defined in a prior input file and loaded to the current input file using the .gdd.

How can I solve this problem?
Reply | Threaded
Open this post in threaded view
|

Re: Problem with the Delete Function.

Damien André
Administrator
Hi, can you try this ?

    <NEW-FRAME Center="(0, -.375, 0)" Quat="(0, 0, 1)(90)" ID="F7"/>
    <NEW-GROUND Type="Rectangle" DimY=".1" DimZ=".1" FrameID="F7" ID="G7" Set="G7"/>
   ...
   <DELETE What="Physic::GroundT<Rectangle>" ID ="G7" Set="G7"/> 

This is just a quick fix  (I have not tried it)

Cheers, Damien