.NET

Reply
Mentor
amitk_189
Posts: 234
Registered: ‎12-15-2011
Message 1 of 5 (304 Views)
Accepted Solution

Parametric Constraints

304 Views, 4 Replies
12-04-2013 04:21 AM

Hello All,

 

Currently i am doing a customization in Autocad which is related to parametric dimensions. 

 

What i am trying to do is to fetch all the dimensions of Parametric dimension and display in Custom Window form, so that when ever the user wants to change the dimension user can change from this form which we design. 

 

Earlier i had done in dynamic block, but i am afraid that might not be accepted. 

 

Any ideas on how to access Parametric dimension and display in combobox and if user changes it shud get reflected in drawing.

 

 

rgds

Amit

Board Manager
StephenPreston
Posts: 368
Registered: ‎05-22-2006
Message 2 of 5 (275 Views)

Re: Parametric Constraints

12-06-2013 02:13 PM in reply to: amitk_189

Is this blog post helpful? - http://adndevblog.typepad.com/autocad/2013/02/retrieving-dimensional-constraints-and-their-associati...

 

Search the same blog for 'philippe constraints' for some other posts by Philippe on this topic.

 

Cheers,

Stephen Preston
Autodesk Developer Network
Mentor
amitk_189
Posts: 234
Registered: ‎12-15-2011
Message 3 of 5 (265 Views)

Re: Parametric Constraints

12-06-2013 08:19 PM in reply to: StephenPreston
Hi Stephen,

Thanks for providing solution, this blog helped in major way to solve issue.

Thanks for providing solution.

rgds
Amit
Active Contributor
Greek2Me
Posts: 32
Registered: ‎10-28-2013
Message 4 of 5 (153 Views)

Re: Parametric Constraints

03-26-2014 05:24 PM in reply to: amitk_189

I need to take this example a bit further...

 

I have created a dynamic block of a window that has two visibility states, elevation and plan.  I have coupled a block table with dimensional constraints so that a single click essentially redraws both views of a complex window, no matter which is state selected.  But I have one hitch...

 

Both views utilize a wipeout so that a block inserted over a floor plan or elevation automatically hides the wall or siding behind it.  (This saves much work reconnecting lines when the window is inevitably relocated.) Originally, I resized my windows with a stretch parameter, and the wipeout stretched along with the window geometry. But now that I'm using the more advanced method to assign specific dimensions I've not found a way to assign a dimensional constraint to a wipeout. The window is redrawn perfectly, but the wipeout remains constant, which is unacceptable.

 

Is anyone aware of a way to use dimensional constraints on something that isn't a true entity, at least in the geometric sense? This would be a truly awesome block if I can figure out this last feature.

 

Maranatha

 

RMc

"It has recently been revealed that Murphy's Law was NOT actually written by Murphy, but by another individual with the same name."
Mentor
amitk_189
Posts: 234
Registered: ‎12-15-2011
Message 5 of 5 (132 Views)

Re: Parametric Constraints

03-30-2014 10:07 PM in reply to: amitk_189

I didn't get you.

 

rgds

Amit

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