bestplace2 Posted August 23, 2008 Posted August 23, 2008 When compile even simpliest code like the sample below with "Separate Namespace" option and always appears: "no function definition: LAYOUTLIST" If compile it with document namespace (Separate Namespace - unmarked) then code running ok. Any idea where is (and how to solve ) the problem? (defun C:PPP( / aa) (setq aa (layoutlist)) (print aa) (princ) ) Quote
VovKa Posted August 23, 2008 Posted August 23, 2008 add (vl-arx-import 'layoutlist) or (to avoid other problems with initdia, startapp...) (vl-arx-import "AcApp.arx") if running in separate namespace you have to import all functions that are of type EXRXSUBR 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.