.NET

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

Parametric Constraints

330 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

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

 

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

 

ADN Support Specialist
StephenPreston
Posts: 422
Registered: ‎05-22-2006
Message 2 of 5 (301 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: 242
Registered: ‎12-15-2011
Message 3 of 5 (291 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 (179 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: 242
Registered: ‎12-15-2011
Message 5 of 5 (158 Views)

Re: Parametric Constraints

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

I didn't get you.

 

rgds

Amit

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.