Author Topic: Beginner - Object browser and...  (Read 1483 times)

0 Members and 1 Guest are viewing this topic.

EDDemtec

  • Guest
Beginner - Object browser and...
« on: November 10, 2011, 04:18:04 PM »
Hi to you all ! I'm new here !

I read somewhere(dont remember where) that the object browser is an important tool for beginners.

However how can it help me to use the object and its property of the printscreen below ?

Thank you in advance, I greatly appreciate your help !

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Beginner - Object browser and...
« Reply #1 on: November 10, 2011, 05:42:04 PM »
The browser simply makes available a listing of Methods and Propertys available for each Type.

In the piccy you posted the Type is  AecWall and the Property is Length expressed as a Double.

Assuming you have a variable of Type AecWall  named mySuperWall
the length of the wall will be accessed thusly :-
  double wallLength = mySuperWall.Length;

Hope this Helps
Regards


PS Welcome to theSwamp.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

EDDemtec

  • Guest
Re: Beginner - Object browser and...
« Reply #2 on: November 11, 2011, 08:23:52 AM »
Thanks for your help !

In the past I developped in VB6, it was easier because I was working with controls like button, listbox, combob box...

Now there are objects where there is no help.

I thought the object browser provided samples and help.

In this case, people who develop with this kind of object (Autocad), where they take their help ?

Thank you again !