xarial / xcad

Framework for developing CAD applications for SOLIDWORKS, including add-ins, stand-alone applications, macro features, property manager pages, etc.
https://xcad.net
MIT License
126 stars 25 forks source link

WPF Custom Control Text box not saving to macro feature data #113

Open MJyee opened 9 months ago

MJyee commented 9 months ago

Hi, im not sure whether its a bug or something. i have a WPF custom control on my PMPage and when i use the testing PMPage.show to check it does save the text in the WPF text box to the correct data model.

but when i try the same PMPage using the create custom Feature method. the Text in the WPF textbox does not get saved, i checked on the Convert Page to Params the page side did record the text values

here is an image showing the page tab on the 1st insertion and editing image image

Debug Watch on the Page data image