Autodesk ObjectARX
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Dimension Linetype Name in ObjectARX 2006
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
210 Views, 3 Replies
02-19-2009 02:30 AM
AcDbDimStyleTableRecord::dimltype is available in ObjectARX 2007 onwards.
But I have a old code using ObjectARX 2006. One part of it is that we are going to port it for ObjectARX 2010. So there will be no issue.
But I have just found a bug due to unavailability of the API in 2006.
My question - Is there any alternative mechanism to get the ID of the line type of the specified dim style of any way to get the name of the line type of a specified dim style directly ?
But I have a old code using ObjectARX 2006. One part of it is that we are going to port it for ObjectARX 2010. So there will be no issue.
But I have just found a bug due to unavailability of the API in 2006.
My question - Is there any alternative mechanism to get the ID of the line type of the specified dim style of any way to get the name of the line type of a specified dim style directly ?
Re: Dimension Linetype Name in ObjectARX 2006
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-19-2009 07:39 AM in reply to:
subir.kumar.dutta
The variable DIMLTYPE contains the name of the linestyle for the current active dimstyle.
With that name you can look in the linestyle table for the object id.
Gertwin
With that name you can look in the linestyle table for the object id.
Gertwin
Re: Dimension Linetype Name in ObjectARX 2006
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-20-2009 12:34 AM in reply to:
subir.kumar.dutta
Actually I need the name of dimension linetype of all the available dim style in the current drawing and not only the current dim style.
One possibility is to set current to each of the dim style in aloop and get its line type.
Is it the only possible way ?
One possibility is to set current to each of the dim style in aloop and get its line type.
Is it the only possible way ?
Re: Dimension Linetype Name in ObjectARX 2006
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-20-2009 01:17 AM in reply to:
subir.kumar.dutta
I know, not very elegant.
Since the linetype property is not available in the arx and activex api it is the only way i can think of.
Since the linetype property is not available in the arx and activex api it is the only way i can think of.

