AutoCAD Civil 3D Customization
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Labellocat ion of Cogopoint
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hello,
is there a possibillity to get the labellocation of a cogopoint in visuallisp.
I tried it with (vlax-get-property cogopto "LabelLocation") but the proprty Labellocation seems unknow (C3D 2012).
Has somebody an idea?
Thanks Robert
Solved! Go to Solution.
Re: Labellocat ion of Cogopoint
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
You can get the point location, but not the label location. Can you elaborate on what you need this for?
Re: Labellocat ion of Cogopoint
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hello Jeff,
I have a polyline and cogopoints, the label of the cogopoints should be aligned to the polyline (this is possible with 'LabelRotation) and it should be possible that the label is above or under the line is positioned (the cogos have the same LabelStyle) and the user can decide where the label is postioned.
In the C3D 2013 API Idocumentation I see the property LabelLocation, do know is it in 2013 possible?
Thanks Robert
Re: Labellocat ion of Cogopoint
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
The LabelLocation property is only exposed in the .NET API, so cannot be used in lisp without some special .NET programming....at which point you'd be better off just coding the whole thing in .NET.
Re: Labellocat ion of Cogopoint
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hello Jeff,
thank you for the information.
Are the re two different APi - Reference- Guides for .Net and ActiveX? Where can I see which properties are exposed in ActivX?
Thanks Robert
Re: Labellocat ion of Cogopoint
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
On the C3D Help pages, there is a link for the COM reference guide, but it will take you to the 2012 COM reference guide. There is not one specifically for 2013.
