Got A jig that helps with some additional tasks for inserting BlockReferences but does not take in consideration blocks with alignment parameters. Any ideas on how to approach jigging blocks with alignment parameters?
Got A jig that helps with some additional tasks for inserting BlockReferences but does not take in consideration blocks with alignment parameters. Any ideas on how to approach jigging blocks with alignment parameters?
The RXClass for BlockReference exposes an event that can be handled, but I've never used it myself, so I can't if that's a solution.
I subscribed to the EntityAlignment event which was only raised when using AutoCADs "INSERT" command, but not when jigging a Block that contained one.Got A jig that helps with some additional tasks for inserting BlockReferences but does not take in consideration blocks with alignment parameters. Any ideas on how to approach jigging blocks with alignment parameters?
The RXClass for BlockReference exposes an event that can be handled, but I've never used it myself, so I can't if that's a solution.
Got A jig that helps with some additional tasks for inserting BlockReferences but does not take in consideration blocks with alignment parameters. Any ideas on how to approach jigging blocks with alignment parameters?
The RXClass for BlockReference exposes an event that can be handled, but I've never used it myself, so I can't if that's a solution.I subscribed to the EntityAlignment event which was only raised when using AutoCADs "INSERT" command, but not when jigging a Block that contained one.Got A jig that helps with some additional tasks for inserting BlockReferences but does not take in consideration blocks with alignment parameters. Any ideas on how to approach jigging blocks with alignment parameters?
The RXClass for BlockReference exposes an event that can be handled, but I've never used it myself, so I can't if that's a solution.
Glancing at and comparing a couple of BlockTableRecords and Reference's with MgdDbg that were dynamic, non-dynamic, dynamic with alignment parameter and dynamic without an alignment parameter , etc.... I did not see anything in its properties, entities it contained, and/or the block or entities it contained xdata or ExtensionDictionaries that indicated it had an alignment parameter
Need to go back and get a better fundamental understanding of geometry but can anyone help with how you would align to line?
Might help me better grasp the math or general idea.
Thanks
Looks like I left out a very important detail, but a block reference.Need to go back and get a better fundamental understanding of geometry but can anyone help with how you would align to line?
Might help me better grasp the math or general idea.
Thanks
What are we tying to align with a line?
Need to go back and get a better fundamental understanding of geometry but can anyone help with how you would align to line?
Might help me better grasp the math or general idea.
Thanks
Now to go back and look over PointMonitor.
Now to go back and look over PointMonitor.
You probably have better resources than I, so FWIW, Tony's correction of Kean's old post here (http://through-the-interface.typepad.com/through_the_interface/2009/07/providing-information-on-autocad-objects-in-a-tooltip-using-net.html) (scroll down), was very helpful to me in starting an (albeit an unfinished) 'mouse hover' plug-in over at CT.
** Edit to add - Seems only fitting to say "Thanks, Tony!" as the man's following this thread too. :beer:
First before I get ahead of myself and not too get too in depth for now but in general is okay to think of GetFirstDerivative() as a First Derivative test as it looks at the points just to each side and returns a vector tangent at that point.(Which Tony already better explained).
Just playing with code from Link (http://spiderinnet1.typepad.com/blog/2012/11/autocad-net-jig-dynamic-block-with-alignment-parameter-using-entityjig.html) posted previously.
I know this is not the way to do it but I just do not remember, or to state it correctly instead of actually learning the material for Calculus I,II,III I just remembered what I had needed to pass the test(I really regret it now).
Just messing around with and to my suprise for straight curves functions much like a block with alignment parameter but could someone point in the right direction or to material to help understand the math involved.
Yes but too much automation wanted to use built in 'Insert' command.
I am about to run out the door to take kid to movie, but I take that comment as red flag, which leads me to think I am approaching the problem incorrectly and will give a better explanation later today or tommorrow, and if you have the time hopefully I could get your or anyone else input on a basic overview how they might approach it.Yes but too much automation wanted to use built in 'Insert' command.
Ummmm. Not sure I understand that.
I am about to run out the door to take kid to movie, but I take that comment as red flag, which leads me to think I am approaching the problem incorrectly and will give a better explanation later today or tommorrow, and if you have the time hopefully I could get your or anyone else input on a basic overview how they might approach it.Yes but too much automation wanted to use built in 'Insert' command.
Ummmm. Not sure I understand that.
Basiclly what I got is inserting blocks so they are inserted on correct layer among other things where they want text to always stay horizontal. So I thought I would use a dymanic block with rotation parameter and action and add a user parameter to where they could set what they wanted the end result of text to be rotated at.
I guess another route would be to script insert command to get alignment parameter taken care of and once ended check if it contains user parameters and if so update it then, but it seems I keep hitting roadblocks getting it work from toolpalette and from Insert command so thought maybe roll my own where it called same command from tool palette.
P.S.
I do not feel near close enough to understanding API to charge anyone for my services, and just some automation for company I work for after regular hours. I leave that to you pros.
Thanks Tony,Basiclly what I got is inserting blocks so they are inserted on correct layer among other things where they want text to always stay horizontal. So I thought I would use a dymanic block with rotation parameter and action and add a user parameter to where they could set what they wanted the end result of text to be rotated at.
I guess another route would be to script insert command to get alignment parameter taken care of and once ended check if it contains user parameters and if so update it then, but it seems I keep hitting roadblocks getting it work from toolpalette and from Insert command so thought maybe roll my own where it called same command from tool palette.
P.S.
I do not feel near close enough to understanding API to charge anyone for my services, and just some automation for company I work for after regular hours. I leave that to you pros.
Another way to do that might be to script the INSERT command while a DrawableOverrule keeps the text heads-up. Of course, it could also keep the text heads-up whenever the block is edited in any way, if you wanted to do that as well.