Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Has anyone tried to remove the note placement from a ProNote object in ProToolkit? We have not found any method for removing note placement, only for inserting the placement.
Thanks,
Sharon Barber
I know it seems like a strange request. What we are tasked with doing is rearranging the notes in the feature tree. The engineer assigned to this task was looking to switch the note data and note placement instead of removing and reinserting all the notes. It all worked fine until I tested the software and ran across a case where we had an unplaced note being swapped with a placed note. The note with placement was updated correctly, but using a NULL placement on the same API resulted in PRO_TK_BAD_INPUTS. (Although I prefer this to the infamous PRO_TK_GENERAL_ERROR).
I don't think there is a solution via the API's but no place better to find answers than the forum so thought I'd give it a try. Worst case scenario, we may have to use a macro to unplace the note (although I really prefer to avoid macros wherever possible).
Thanks for all the responses (public and private),
Sharon