VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ACAD_LAYER vs acadlayer

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
412 Views, 3 Replies

ACAD_LAYER vs acadlayer

What different betwen ACAD_LAYER with acadlayer

as like
dim lay as ACAD_LAYER
with
dim lay as acadlayer
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

good question

same with acadline and acdbline etc
Message 3 of 4
Anonymous
in reply to: Anonymous

Any others comment?

wrote in message news:5981296@discussion.autodesk.com...
good question

same with acadline and acdbline etc
Message 4 of 4
Anonymous
in reply to: Anonymous

My uneducated guess is one is the interface(virtual) and the other the
implementation (concrete)

therefore in your code you *could* dim as either and it will appear to work
the same
(assuming the implementation doesn't contain additional methods not found in
the interface)

in practice i think it's customary to Dim as AcadLayer

etc
hth
mark

"Adesu" wrote in message
news:5983549@discussion.autodesk.com...
Any others comment?

wrote in message news:5981296@discussion.autodesk.com...
good question

same with acadline and acdbline etc

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report