Jump to content

Recommended Posts

Posted

hi everbody

i am new to autocad .net customisation. i want to know that how can we use user interface for user inputs and what is the alternative for DCL in autolisp.

for example i have a program(dll) in vb.net. it creates one array how can take one value from the user. i want to use combobox and then populate it from the array. then take the input from the user and againg do some code. is it possible? if yes how can i do it. please guide me.

 

thank in advance

gvg

Posted

Winforms are still a useful and easy way to design a UI for your routine. There are numerous tutorials online demonstrating their use.

 

If you prefer a modeless - always present - Windows Presentation Foundation (WPF) can be used within AutoCAD palettes. This link contains some resources:

http://through-the-interface.typepad.com/through_the_interface/2009/08/hosting-wpf-content-inside-an-autocad-palette.html

Posted

1+

 

I'm a big fan of WPF these days; I use it for both AutoCAD plug-ins, and Browser Applications. I still have a great deal to learn, but even with only little, one can do much... If that makes sense.

 

Cheers

Posted

I haven’t done much integration of WPF with my AutoCAD development. Though, I have been making some time with XAML in a Windows Store App I’ve been messing around with. From what I can tell, the two (WPF and XAML) are the same. Maybe an item or two missing from one or the other.

 

I have to admit that Expression Blend (now included with Visual Studio Express 2013) is pretty handy. I still get in there to make sure the XAML makes sense, but Blend allows for more immediate visual feedback.

Posted

thank you seant & black box for your replies. i will look into it.

Posted

hi

i created a program with a class and an usercontrol as palette. i put a button and a combobox and populated the combobox with an array from the class. upto this step i suceeded. Now i struck at this place. i want to select one value in the combobox on palette using button click. then that value from the button click should pass to a variable in the class. how to do it. please guide me.

 

thanks in advance

gvg

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...