Jump to content

Loft command in vba


ptspawn

Recommended Posts

Hi guys,

 

I need to know if its possible to use the loft command in a vba script without any user input (no window showing up), and if so, how, cause i've looked all over the help resources and cant find anything helpful. I'm using autocad 2008 by the way.

 

Thanks in advance

Link to comment
Share on other sites

  • 1 year later...

Apparently there is no direct way to do this with VBA . . . . from the Developers Help file:

 

You can use ActiveX to query and edit LoftedSurface entities in AutoCAD drawings. You cannot create a LoftedSurface object with ActiveX.

 

Although there may be some workaround (.SendCommand, perhaps), Loft creation would probably be more manageable via the .NET api (VB.NET, C#.NET, etc)

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