Jump to content

Recommended Posts

Posted

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

 

Regards,

Ramesh.P.K.

Posted

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

 

 

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

Posted

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.

Posted
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

Posted

Typically, the reference can be found at:

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

 

 

Remember to set Copy Local = False

Posted
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

Posted
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

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