Dynamic Blocks

Reply
Active Member
ccampbell7
Posts: 7
Registered: ‎07-20-2009
Message 1 of 8 (551 Views)

Alignment parameters + Locked attribute position

551 Views, 7 Replies
07-20-2009 10:45 AM
I am creating a wall mounted junction box dynamic block and I'm running into a problem. I'm using an alignment parameter to rotate the block based on the rotation of the wall it is being placed on. Unfortunately, the "J" in the center of the circle will not stay with zero degrees rotation like it would if you lock the attribute and rotate with a normal rotation command. It seems like the "lock attribute" option does not jive with the alignment parameter. Any ideas?
Distinguished Contributor
drafter1984
Posts: 126
Registered: ‎06-24-2009
Message 2 of 8 (551 Views)

Re: Alignment parameters + Locked attribute position

07-20-2009 11:12 AM in reply to: ccampbell7
try taking the J out of the alignment action selection set
then create a point parameter to the center of the J and add a move action to it and select the J
then go into the properties of the point parameter and select yes to chain it
then include the point parameter in the alignment action
kinda weird but it works
post your block if you need help
Active Member
ccampbell7
Posts: 7
Registered: ‎07-20-2009
Message 3 of 8 (551 Views)

Re: Alignment parameters + Locked attribute position

07-20-2009 11:24 AM in reply to: ccampbell7
Well I took a look at that idea but it seems like the alignment parameter doesn't have a selection set. It seemed to apply to all objects in the drawing. Maybe I'm wrong though as I don't know as much about dynamic blocks as I should. I will attach the block.
Distinguished Contributor
drafter1984
Posts: 126
Registered: ‎06-24-2009
Message 4 of 8 (551 Views)

Re: Alignment parameters + Locked attribute position

07-20-2009 11:56 AM in reply to: ccampbell7
you are correct i was hoping it would be like the rotation parameter
have you considered using the rotationg parameter on the whole block
or even add it to rotate the J?
Active Member
ccampbell7
Posts: 7
Registered: ‎07-20-2009
Message 5 of 8 (551 Views)

Re: Alignment parameters + Locked attribute position

07-20-2009 11:58 AM in reply to: ccampbell7
we like the conveniance of the alignment parameter because you don't have to know the angle of the wall to line up the j-box. We have a lisp to automatically rotate the attribute to zero so having a rotate parameter and action would actually be slower than using the lisp but I was hoping to avoid the lisp altogether by having it adjust itself.
Distinguished Contributor
drafter1984
Posts: 126
Registered: ‎06-24-2009
Message 6 of 8 (551 Views)

Re: Alignment parameters + Locked attribute position

07-20-2009 12:08 PM in reply to: ccampbell7
i'll keep looking
Distinguished Contributor
drafter1984
Posts: 126
Registered: ‎06-24-2009
Message 7 of 8 (551 Views)

Re: Alignment parameters + Locked attribute position

07-20-2009 03:04 PM in reply to: ccampbell7
have not found anything yet but i made one that rotates
give it a try
Active Member
ccampbell7
Posts: 7
Registered: ‎07-20-2009
Message 8 of 8 (551 Views)

Re: Alignment parameters + Locked attribute position

07-21-2009 05:37 AM in reply to: ccampbell7
Thanks for that. I think I'll use it as an option for people. Some people may like it depending on how they draw. Sucks that they didn't have the foresight to think that alignment would be used with blocks that have attributes though. Would have been a nice feature.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community