DiscussionsIssue archiveData Exchange and Application Framework

Archived discussion

Remove label from OCAF results in shape not removed

Data Exchange and Application FrameworkFri, 12/13/2024 - 18:281 reply

Browse this forum
QuestionAuthor

I'm trying to remove a label with a shape from the OCAF document. The structure without any modifications is theArchived image: external image

Then I'm going to remove PLATE by calling RemoveComponent on label 0:1:1:1:1. Then the structure looks like this and you can see that PLATE has moved up:

Archived image: external image

Then I'm going to call RemoveShape on what was the referred shape of 0:1:1:1:1 and then you can see that 0:1:1:17 gets removed:

Archived image: external image

But 0:1:1:17 and 0:1:1:18 are still there and they are also rendered.

I've tried getting all the components of the shape and tried nullifying, forgetting attributes, removeComponent, removeShape, but none of them did anything.

My question is, how can I remove 0:1:1:17 and 0:1:1:18?

Discussion

1 archived reply

Posts are displayed in their archived order.

01Author

Got it.