how to remove an existing TDF_Label object in a TDocStd_Document?
when i use undo, can i regain the TDF_Label object?
thanks a lot.
Dmitrii Pasukhin Mon, 02/09/2026 - 13:10
Dear Wu.
It is not possible to remove the tag from the existed OCAF tree, You can only remove the attributes inside the tree, but ID will be not removed, it will stay, but empty.
For removing attributes, please use method of TDF_Label::ForgetAllAttributes
Mon, 02/09/2026 - 13:10
Dear Wu.
It is not possible to remove the tag from the existed OCAF tree, You can only remove the attributes inside the tree, but ID will be not removed, it will stay, but empty.
For removing attributes, please use method of TDF_Label::ForgetAllAttributes
Best regards, Dmitrii.
Mon, 02/09/2026 - 14:03
it works. thank you.