.NET

Reply
Active Contributor
42 Posts
0 Kudos
Registered: ‎07-02-2013
Post 1 of 7

Bounding Box values

227 Views, 6 Replies
07-02-2013 04:35 AM

Hi,

Im new to autocad customization and i am working on modifying a code written in .Net.I want to ask how to get the bounding box of a block and also im unable to locate autocad customization help file.Can anyone please suggest where should i search for it.I dont know how to look for api help.

 

Thanks

Gulzar

 

*Expert Elite*
2,140 Posts
253 Kudos
Registered: ‎04-29-2006
Post 2 of 7

Re : Bounding Box values

07-02-2013 06:02 AM in reply to: gulzar25

Hi,

 

For the BoundingBox, look at the Entity.GeometricExtents property.

You can find some docs and tutorials here:

http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=1911627

Gilles Chanteau
Active Contributor
42 Posts
0 Kudos
Registered: ‎07-02-2013
Post 3 of 7

Re : Bounding Box values

07-02-2013 08:42 PM in reply to: _gile
Hi,
Thanks a lot for the reply. I will try that. Can you please suggest me where to search for the documentation in my machine. I tried searching in the autocad installed folder but couldn't find it. I want to know where I can find .Net api.
*Expert Elite*
2,140 Posts
253 Kudos
Registered: ‎04-29-2006
Post 4 of 7

Re : Bounding Box values

07-02-2013 11:01 PM in reply to: gulzar25

Hi,

 

You won't have any .NET/ObjectARX documentation on your machine if you didn't install it by yourself.

 

Download and install the version(s) of ObjectARX corresponding to the autoCAD version(s) you're using from:

http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=785550

In the newly ObjectARX 20XX created folder(s), the 'docs' sub directory contains the chm help files (arxmgb.chm for the .NET API).

Gilles Chanteau
Active Contributor
42 Posts
0 Kudos
Registered: ‎07-02-2013
Post 5 of 7

Re : Bounding Box values

07-03-2013 12:40 AM in reply to: _gile
Hi,
Thanks for the reply. I have installed the above files. I had a doubt if objectarx and .net api functionality is same.

Thanks
Gulzar
*Expert Elite*
2,140 Posts
253 Kudos
Registered: ‎04-29-2006
Post 6 of 7

Re : Bounding Box values

07-03-2013 12:51 AM in reply to: gulzar25

The managed AutoCAD .NET APIs are mostly wrappers for the unmanaged ObjectARX ones.

See:

http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer%27s%20Guide/index.html

Gilles Chanteau
Active Contributor
42 Posts
0 Kudos
Registered: ‎07-02-2013
Post 7 of 7

Re : Bounding Box values

07-03-2013 01:15 AM in reply to: _gile
Ok thanks a lot :smileyhappy:
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post