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

Dyn Block setting edits with vb.net?

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

Dyn Block setting edits with vb.net?


I have a block with a rotation param that rotates a line.  I also have
an associative dim attached to that line.



When I change the rotation param with .net the dim will not update.  If
the param is changed manually in cad, then the dim updates as expected.



I'm hoping that someone has seen this before, and knows of a way to get
the dim to update when changes are made with .net.





I don't know if this is possible, but i was wondering if there is a way
to dig into a block reference and force the dim to update from within
.net without exploding the block?



TIA

--

Work: VISTA Ultimate/Windows 7 x32 - AMD
64 X2 Dual Core 4200 2.2GHz, 4 Gigs Ram, GeForce
6800GS 256MB


Home: VISTA Ultimate x64 - AMD 64 Quad
Core 2.2GHz, 8 Gigs Ram, GeForce 8600GT 512MB


Laptop (17" HP): VISTA Premium x32 -
color="#000000">AMD Turion X2 Dual Core TL-50 1.6GHz, 2 Gigs Ram,
color="#666666">Nvidia GeForce 6150

3 REPLIES 3
Message 2 of 4
patrick1256
in reply to: Anonymous

What kind of dimension are you using? Try setting up the dimension as aligned and see if you get any better results.

To answer your question on the block reference, yes you can iterate thru the block table record of the block in question

Patrick Johnson
http://www.cadenhancement.com
Message 3 of 4
Anonymous
in reply to: Anonymous


an aligned angular dim?



Work: VISTA
Ultimate/Windows 7 x32 - AMD 64 X2 Dual Core 4200 2.2GHz, 4 Gigs
Ram, GeForce 6800GS 256MB


Home: VISTA Ultimate x64 - AMD 64 Quad
Core 2.2GHz, 8 Gigs Ram, GeForce 8600GT 512MB


Laptop (17" HP): VISTA Premium x32 -
color="#000000">AMD Turion X2 Dual Core TL-50 1.6GHz, 2 Gigs Ram,
color="#666666">Nvidia GeForce 6150





patrick1256 wrote:
What
kind of dimension are you using? Try setting up the dimension as
aligned and see if you get any better results.
To answer your question on the block reference, yes you can iterate
thru the block table record of the block in question
Patrick Johnson
http://www.cadenhancement.com

Message 4 of 4
Anonymous
in reply to: Anonymous


I have attached a demo drawing of what I have setup.   If it helps to
explain..





Work: VISTA
Ultimate/Windows 7 x32 - AMD 64 X2 Dual Core 4200 2.2GHz, 4 Gigs
Ram, GeForce 6800GS 256MB


Home: VISTA Ultimate x64 - AMD 64 Quad
Core 2.2GHz, 8 Gigs Ram, GeForce 8600GT 512MB


Laptop (17" HP): VISTA Premium x32 -
color="#000000">AMD Turion X2 Dual Core TL-50 1.6GHz, 2 Gigs Ram,
color="#666666">Nvidia GeForce 6150





patrick1256 wrote:
What
kind of dimension are you using? Try setting up the dimension as
aligned and see if you get any better results.
To answer your question on the block reference, yes you can iterate
thru the block table record of the block in question
Patrick Johnson
http://www.cadenhancement.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