- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
i'm trying to set the transparency of objects via autolisp. I'm using the following code:
(setq flag (tblsearch "LAYER" "Uklonjeno")) (if (= flag nil) (progn (command "Layer" "M" "Uklonjeno" "c" "red" "" "") (command "_LAYER" "_TR" 80 "Uklonjeno" "") (command "laymch" selnosacea "" "n" "Uklonjeno") ) (progn (command "laymch" selnosacea "" "n" "Uklonjeno") ) )
It creates the new layer and sets its transparency to 80 %. However the blocks thaht are moved to the new layer are not transparent.
Due to compatibility reasons i'm working in 2000 version of dwg.
[Edit] The blocks are saved as 2000 version dwg. The dwg I'm working in is no saved. The default save option is 2000.
Solved! Go to Solution.