Autodesk Navisworks API
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
Render Image through Navisworks API?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
152 Views, 1 Replies
08-07-2012 02:20 AM
Hi
Is there anyway of programmatically rendering the image to a file using the API, .NET or COM?
Ideally I would like to be able to select the format (jpeg), renderer (Presenter) and Size (Explicit).
I guess it would be possible to use the DrawToBitmap method of the ViewControl but this would only allow the use of the viewport renderer, is this correct?
Many Thanks
Simon
Re: Render Image through Navisworks API?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-14-2012 03:54 AM in reply to:
cranesim
Hi,
I do not think we have implemented DrawToBitmap which overrides from Windows .NET control.
But probably the COM API could help you, which could be called by .NET.
<2012>\api\COM\examples\ACTX_03
<2012>\api\COM\examples\ACTX_07
<2013>\api\COM\examples\ActiveX\ActiveXSnapshotExa
<2013>\api\COM\examples\Auto\AutoPresenterExample
Xiaodong Liang
Developer Technical Services
Autodesk Developer Network
