Jump to content

Get all the objects in the container ?


DuanJinHui

Recommended Posts

I see a function ,But No subfunctions.

 

Hi Guys ,Do you have such a same function?  Can share it?

 

;;Name - Layer Ltype Dimstyle Style Group Block Mlstyle        Ucs View Viewport APPID Plotsettings
;;       Dictionary
;;        Ename , Insert Polyline 3dPolyline 3DMesh 3DFaceMesh
(defun XD::Object:Get (Name / e el)
 (xdrx_object_get name)
 (while (setq e (xdrx_object_next))
   (setq el (cons e el))
 )
 el
)

 

;;Name - 1 String

Layer Ltype Dimstyle Style Group Block Mlstyle Ucs View Viewport APPID Plotsettings

;; Dictionary

;; 2 ADS_ENAME Insert Polyline 3dPolyline 3DMesh 3DFaceMesh

 

eg:

(mapcar 'cadr (XD::Object:Get "Layer"))
(mapcar 'car (XD::Object:Get "Layer"))

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...