Author Topic: Custom list of objets  (Read 1486 times)

0 Members and 1 Guest are viewing this topic.

peter2015

  • Guest
Custom list of objets
« on: March 29, 2015, 08:21:18 AM »
Hi

First of all, sorry, I a begginer on the programming of Vb.net,  I know a few of programation on Visual Lisp. Then I begin on make new programs on Vb.net for Autocad. I need a help for  can create a custom list of objects. I talking about of have on a list for example:

Dim obj1 As List(Of object1)

where I can use length of polylines and the Id of every polyline on a selection set filtered

On visual lisp we can create list whit this values, length vs name of entities

Can help on with any sample, for can create the custom list and after how can use this new items od the list, how I can call this elements

Thank you for your atention

Best regards

gile

  • Gator
  • Posts: 2507
  • Marseille, France
Re: Custom list of objets
« Reply #1 on: March 29, 2015, 08:58:52 AM »
Hi,

It seems that you lack the .NET base (non-AutoCAD).
AutoLISP has only one data structure: AutoLISP list which is, in fact, a non-typed singly linked list.
.NET provides many collection and data structure which may be more efficient according to specific uses. This thread may be a good start.
« Last Edit: March 29, 2015, 11:09:49 AM by gile »
Speaking English as a French Frog