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

the EffectiveName of a Dynamic Block

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
421232206
1075 Views, 2 Replies

the EffectiveName of a Dynamic Block

just look at the picture.  this is a block reference of a dynamic block, and this dynamic block has its name "地面设备$地面开关" (oh, i hope you can understand Chinese).   and I use  command "list" , also get this name.   but, if I change one of the dynamic properties of the blockreference.  then use "list" to check its property,  the BlockName of this  blockreference changes into "*U2", 

   this change make coders hard to coding.  I want to get the Name "地面设备$地面开关" ,not "*U2".  so, is there any to get the effective name?

Technology change world! Coding change technology! We coders are coding!
2 REPLIES 2
Message 2 of 3
owenwengerd
in reply to: 421232206

You can use AcDbDynBlockReference::dynamicBlockTableRecord() to get the dynamic BTR; from there you can get the BTR name.

--
Owen Wengerd
ManuSoft
Message 3 of 3
421232206
in reply to: owenwengerd

thanks a lot. your reply is always so fast and correct , just like in the past days . the new year is coming, and "happy new year to you",  and in Chinese we say "新年快乐"。 

Technology change world! Coding change technology! We coders are coding!

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

Post to forums  

Autodesk Design & Make Report

”Boost