.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get Entity's original type.

3 REPLIES 3
Reply
Message 1 of 4
gilseorin
239 Views, 3 Replies

How to get Entity's original type.

Hi, all.
I have difficulty in getting an information about Entity's original type, for example, line, circle,text... etc.

Dim entity As Entity = (trans.GetObject(idarray(i), OpenMode.ForWrite, True))

Select Case GetType(Entity).ToString
Case "TEXT"
.
.
Case "Line"
.
How could I correct my code? Some help?
Thank you in advance.
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: gilseorin

Entity.GetType.Name

tp




escreveu na mensagem news:5433051@discussion.autodesk.com...
Hi, all.
I have difficulty in getting an information about Entity's original type,
for example, line, circle,text... etc.

Dim entity As Entity = (trans.GetObject(idarray(i), OpenMode.ForWrite,
True))

Select Case GetType(Entity).ToString
Case "TEXT"
.
.
Case "Line"
.
How could I correct my code? Some help?
Thank you in advance.



I'm protected by SpamBrave
http://www.spambrave.com/
Message 3 of 4
gilseorin
in reply to: gilseorin

Thank you so much,tp.
With your rotate function and method of entity.gettype.name,
I could finish my project.
I feel spcial gratitude mind to you.
Thank you again and Happy Day!
Message 4 of 4
Anonymous
in reply to: gilseorin

The pleasure was mine of being able to help.
tp


escreveu na mensagem news:5433577@discussion.autodesk.com...
Thank you so much,tp.
With your rotate function and method of entity.gettype.name,
I could finish my project.
I feel spcial gratitude mind to you.
Thank you again and Happy Day!



I'm protected by SpamBrave
http://www.spambrave.com/

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost