.NET

Reply
Active Contributor
gulzar25
Posts: 42
Registered: ‎07-02-2013
Message 1 of 7 (211 Views)

Bounding Box values

211 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*
_gile
Posts: 2,106
Registered: ‎04-29-2006
Message 2 of 7 (198 Views)

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
gulzar25
Posts: 42
Registered: ‎07-02-2013
Message 3 of 7 (164 Views)

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*
_gile
Posts: 2,106
Registered: ‎04-29-2006
Message 4 of 7 (155 Views)

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
gulzar25
Posts: 42
Registered: ‎07-02-2013
Message 5 of 7 (152 Views)

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*
_gile
Posts: 2,106
Registered: ‎04-29-2006
Message 6 of 7 (150 Views)

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
gulzar25
Posts: 42
Registered: ‎07-02-2013
Message 7 of 7 (146 Views)

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
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.