kevancress / MeasureIt_ARCH

MeasureIt_ARCH is an addon for Blender, that adds tools to create design documentation and technical drawings that can be previewed within Blender's 3D viewport, and exported as images, vector graphics or .dxf files. Read the Doc's here:
https://kevancress.github.io/MeasureIt_ARCH/
Other
255 stars 36 forks source link

Updating styles on updating from 3.6 to 4.02 #272

Open skonato opened 4 months ago

skonato commented 4 months ago

Hi Kevan,

Thanks a lot for the great addon! I have updated Blender from 3.6 to 4.02 and the addon to 0.5.0. All dimensions in the projects save under 3.6 were disappeared. I can see only their styles' names in the dropdown lists. However, I do not see these styles in the project settings and that is why I am not able to delete them. Is it possible to delete old styles from dropdown lists? If I create a style with the same name, I see this style in dropdown lists twice.

Screenshot

Thanks! Konstantin

kevancress commented 4 months ago

Hey @skonato

If you use the "Delete All Styles" from the dropdown list next to the styles that should clear out any old styles, even if they're not visible. They really should still show up from version to version though, so I'll have to look into fixing that.

What version of the addon we're you using before you updated?

skonato commented 4 months ago

Hi @kevancress

Thanks a lot for your reply! I reinstalled Blender on another PC and simulated this error for you: Test scene on the PC with 3.6.2/0.4.7: 362_047

The same scene opened on the PC with 4.0.2/0.5.0:

The error message on attempt to delete all styles on the PC with 4.0.2/0.5.0: OnDeletingAll

Here is the Blender file example: TestExample.zip

kevancress commented 4 months ago

@skonato That perfect, thanks for setting that up!

I'll take a look at this tonight and see if I can get this resolved!

skonato commented 2 months ago

Hi @kevancress ,

Is there any hope that the bug will be fixed?

kevancress commented 2 months ago

Hey @skonato

Thanks for the nudge on this, got partway to a solution but hadn't finished it. Took another crack at it now, and I think I've got it working (seems to load the correct styles on the test file at least.)

Give the latest development version a check and see if its working for you!

skonato commented 2 months ago

Hi @kevancress,

Thanks for your reply. I tried the same file once again with the latest downloaded version today and here are the results:

no dimensions [NOT FIXED] no GreenStyle in the global list [FIXED] not possible to delete all styles[NOT FIXED]

402

kevancress commented 2 months ago

@skonato

Thanks for the update, I'll take another look

skonato commented 2 months ago

Hi @kevancress,

Sorry, but I have the same issue in the latest Blender 4.1.1

kevancress commented 2 months ago

@skonato

Sorry I haven't had a chance to get back to this. Did the update to 4.1.1 break the styles showing in the styles list again, or is it just the two remaining issues (dimensions not showing and style deleting) that are still broken?

skonato commented 2 months ago

Hi @kevancress,

Only dimensions not showing and style deleting.