Jump to content

vba programming


cadtutorseenu

Recommended Posts

i am new to autocad......but i know vb.

 

i am using autocad 2007.i tried my workspace toolbutton.i clicked "vehicles - Imperial". a car image appears in the screen with mouse cursor. wherever i move the cursor, the car image comes along with it.

 

As like "vehicles - Imperial", can i get custom object(line,circle....) with custom toolbar using vba code.if it is possible please tell me step by step.

 

please give code for any sample project.how to do this??

 

 

please help me.

Link to comment
Share on other sites

Could you send a screen shot of what you are wanting. It sounds like you want the object you are trying to draw to "float" along with the cursor?

Link to comment
Share on other sites

herewith i have attached a pdf file screen shot.

 

when i click "wf beam-imperial", the object came into the drawing.

also when i move the mouse it comes along with it.

 

i can create custom toolbar. but i dont know how to do this.

 

i would like to do this thru vba code.

 

help me out.

 

(atleast a line i should draw like this.pls help step by step.)

beam.pdf

Link to comment
Share on other sites

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...