Jump to content
Ramesh PK

Aligning 3D solids

Recommended Posts

Ramesh PK

Is there any way of aligning one 3D object with other using VBA?

 

Regards,

Ramesh.P.K.

Share this post


Link to post
Share on other sites
SEANT

VBA would be limited - maybe with just regular Boxes and Cylinders.

 

 

The BREP API available to ARX/.NET would allow more capabilities.

Share this post


Link to post
Share on other sites
BIGAL

Probably better to look at Inventor I appreciate it does have a cost 2007 upgrade others will comment I don use. Like Seant if you have simple primitives probably possible with VBA. Maybe something like a current UCS compare new UCS and use rotate3d to align then move.

 

Can you post a image of the objects to be religned.

Share this post


Link to post
Share on other sites
RICVBA
VBA would be limited - maybe with just regular Boxes and Cylinders.

 

 

The BREP API available to ARX/.NET would allow more capabilities.

 

I'm trying to mess something up with NET. I use VS2010 and AutoCAD2010 and downloaded the ObjectARX 2010 SDK. but the line

[color=blue]using[/color] Autodesk.AutoCAD.BoundaryRepresentation;

results in an error. Searching through folders I found .dbx and .arx files referring to BREP but not a .dll file at all.

How can I reference BREP NET libraries properly? Am I missing a piece of something?

Thank you

Share this post


Link to post
Share on other sites
SEANT

Typically, the reference can be found at:

.../ObjectARX 2010/inc/acdbmgdbrep.dll

 

 

Remember to set Copy Local = False

Share this post


Link to post
Share on other sites
RICVBA
Typically, the reference can be found at:

.../ObjectARX 2010/inc/acdbmgdbrep.dll

 

 

Remember to set Copy Local = False

 

thank you Seant

I'll check your hint this evening

Share this post


Link to post
Share on other sites
RICVBA
thank you Seant

I'll check your hint this evening

 

 

 

that made it!

unless the path was "...\AutoCAD 2010\ObjectARX 2010\inc-x64"

 

 

thank you again Seant

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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