Message 1 of 3
edit sline property using autolisp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
i can access the propery i want to edit but vlax-put-property returns the message "ActiveX Server returned an error" Type mismatch"
below is an example of the autolisp code i am using.
(setq e (car (entsel)))
(setq vlaobj (vlax-ename->vla-object e))
(vlax-get-property vlaobj 'InsulationType)
(vlax-get-property vlaobj "InsulationType" "?")