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

Dynamic block C#

2 REPLIES 2
Reply
Message 1 of 3
hcadfk
1492 Views, 2 Replies

Dynamic block C#

Hello,

is it possible to insert a dynamic block with C# at a given insert point and rotation
but having the dynamic parameter (in my case a stretch paramter) active at the mouse cursor for specific
distance selection?

Frank
2 REPLIES 2
Message 2 of 3
autodeskprogrammer
in reply to: hcadfk

you can create a block definition for adynamic block then make a block reference and give it to jigEntity then you can dynamicaly take
your value. i only do it with taking position and angle for rotation.

you can try your best if you could not put a reply i will try to heelp you.
Message 3 of 3
Anonymous
in reply to: hcadfk

Hi,

I guess 'autodeskprogrammer' means this: http://cupocadnet.blogspot.com/2009/03/jigging-block-properties.html

I create a jig to insert the block, a jig to change rotation and one property, and a command to glue it all together. You could enhance this further to get some really nice results. This is just a basic sample to get the idea.


@autodeskprogrammer: When creating the sample, I, just like you, chose to use rotation and length. So sorry for 'stealing' your idea. But it must mean that we're both on the right track with this solution 🙂

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