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
Add SectionVie w to Section View Group
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
C3D 2012
Is it possible, in c# code, to add a sectionview to a section view group?
If yes, please provide example code.
Thx.
Kevin.
Solved! Go to Solution.
Re: Add SectionVie w to Section View Group
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
The best solution appears to be:
Maintain a custom grouping of section views, probably using a dictionary to store the origin of the group, spacing of section views, scales etc. ... as ... it looks like there is no API access to Section View Groups ..
Correct?
Re: Add SectionVie w to Section View Group
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi Kevin,
At the moment there is only COM API to add SectionView, however, I don't see any API available to access Section View Groups.
IAeccSectionViews:: Add Method -> Creates a new section view using the given parameters, adds it to the collection, and returns a pointer to the new instance.
HRESULT Add(
[in] BSTR Name,
[in] BSTR Layer,
[in] VARIANT Origin,
[in] IAeccSectionViewStyle* Style,
[in] IAeccSectionViewBandStyleSet* BandStyleSet,
[out, retval] IAeccSectionView ** pVal
);
SectionView or Section view Groups is not yet available in Civil 3D .NET API. These are all in 'Wish list" for future release.
Thanks,
Partha Sarkar
Developer Technical Services
Autodesk Developer Network

