Jump to content

HTML <-> AutoCAD connection


techjunkie

Recommended Posts

Hey guys, I've been working on trying to get an embeded HTML page inside of AutoCAD that can communicate back and forth with AutoCAD, but I've hit a road block.

 

So far I've managed to embed an html page by using OpenDCL and I've been able to initiate actions from the AutoCAD side by changing the browser url to a 'javascript:function()' url. However I'm unsure as to how to initiate an action from the HTML page and have it run a command inside of AutoCAD.

 

Basically what I need is to be able to click a button on the html page and have it send commands to run via the AutoCAD command line. I assume I'd need to use javascript and some form of ActiveX control, but beyond that I'm clueless.

 

Any suggestions?

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