samifox Posted September 7, 2015 Posted September 7, 2015 hi what happand when i create a layer that is exist in the database, should i test for the name? or its being ignored? (defun SG:createLayer (name color) (entmakex (list '(0 . "LAYER") '(100 . "AcDbSymbolTableRecord") '(100 . "AcDbLayerTableRecord") '(70 . 0) (cons 2 name) (cons 62 color) ) ) ) Quote
Lee Mac Posted September 7, 2015 Posted September 7, 2015 The entmakex expression will fail, returning nil. Quote
samifox Posted September 7, 2015 Author Posted September 7, 2015 The entmakex expression will fail, returning nil. how to overcome this? why it will fail? can it be addressed Quote
samifox Posted September 7, 2015 Author Posted September 7, 2015 See this post. Lee are you the grand son of John McCarthy? what left to say Lee! out of words! Quote
Lee Mac Posted September 7, 2015 Posted September 7, 2015 You are too kind - I'm glad it helps Unfortunately I simply don't have enough free time these days to explains concepts in similar depth. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.