Get Layer Option broken 3.13.1

Discussions around the CAM Add-On of QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Indicate the post processor used.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
User avatar
srl
Full Member
Posts: 65
Joined: Tue Aug 09, 2011 4:40 am

Get Layer Option broken 3.13.1

Post by srl » Sat Apr 02, 2016 7:21 am

Hi Andrew

I was just having a look at the latest GCode.js.

To get it working again I changed line 161 to this

Code: Select all

 // return layer.getCustomProperty("QCAD", name, def);
return layer.getCustomProperty("QCADCAM", "Cam/"+ name, def);
Unlike the CAM Global options the layer options are lost when the file is reloaded , Its a turn off for those first looking at CAM and the reason I went with the layer names options.
Could this be fixed?

Your lead in code looks interesting, any clues on how to use it or is it work in progress? I noticed the in and out from centre no longer works.

All good stuff

srl

User avatar
andrew
Site Admin
Posts: 9058
Joined: Fri Mar 30, 2007 6:07 am

Re: Get Layer Option broken 3.13.1

Post by andrew » Tue Apr 12, 2016 9:39 am

This should be fixed in the latest update (3.14). Please note that custom properties have to be stored under title "QCAD" in order to be stored with the DXF/DWG file.

BTW: You might want to enable Edit > Application Preferences > Widgets > Property Editor > Display properties of current block and current layer, so you can view and edit layer properties using the property editor.

Post Reply

Return to “QCAD/CAM”