END SEQUENCE Layer

END SEQUENCE Layer

Anonymous
Not applicable
1,105 Views
5 Replies
Message 1 of 6

END SEQUENCE Layer

Anonymous
Not applicable

hi,

 

is there a way i can get to the end sequence layer in blocks with attributes

i know it is the layer where the block is first placed in

i see there is a type  SequenceEnd but get and error when i try to get the objectid with fromacadobject function

 

Select objects:
BLOCK REFERENCE Layer: "FE_LICHT"
Space: Model space
Color: BYLAYER Linetype: "Continuous"
Handle = 1add
Block Name: "0MA58$"
at point, X=-18647.77 Y= -2431.94 Z= 0.00
X scale factor: 1000.00
Y scale factor: 1000.00
rotation angle: 90
Z scale factor: 1000.00
Scale uniformly: No
Allow exploding: Yes

ATTRIBUTE Layer: "21"
Space: Model space
Color: BYLAYER Linetype: "Continuous"
Handle = 1ade
Style = "MONOTXT"
Annotative: No
Font file = MONOTXT
Press ENTER to continue:
mid point, X=-18647.77 Y= -2431.24 Z= 0.00
height 250.00
value M
tag TAG00
rotation angle 90
width scale factor 0.84
obliquing angle 0
flags normal
generation normal

END SEQUENCE Layer: "21"
Space: Model space
Color: 1 (red) Linetype: "Continuous"
Handle = 1adf

this is the listing in autocad

 

hope anyone know cant find nothing in google for .net only in lisp

0 Likes
Accepted solutions (1)
1,106 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable

hi all

i found out that i can get it away with entity.setlayerid method

but i still want to know if i can reference to that object

0 Likes
Message 3 of 6

Alexander.Rivilis
Mentor
Mentor
Accepted solution

I see two way:

1) Using P/Invoke for acdbEntNext and acdbGetAdsName

2) Using Filer as doing in MGDDBG utility:

 

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"


Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
Expert Elite Member

Message 4 of 6

Anonymous
Not applicable

hi alexander

 

will take a look at it

the MGDDBG utility i will definitely try

and thank u for making the explaining video

it will help me in the future too

 

 

0 Likes
Message 5 of 6

Alexander.Rivilis
Mentor
Mentor

You can download MgdDbg bundle with source code from this URL: http://adn-cis.org/assets/gallery/AutoCAD/MgdDbg.zip and extract to C:\Program Files\Autodesk\ApplicationPlugins folder.

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"


Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
Expert Elite Member

Message 6 of 6

Anonymous
Not applicable

thank u i have downloaded the file and will try it

0 Likes