• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Navisworks API

    Reply
    New Member
    Posts: 1
    Registered: ‎08-07-2012

    Render Image through Navisworks API?

    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

    Please use plain text.
    ADN Support Specialist
    xiaodong.liang
    Posts: 814
    Registered: ‎06-12-2011

    Re: Render Image through Navisworks API?

    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\ActiveXSnapshotExample
    <2013>\api\COM\examples\Auto\AutoPresenterExample



    Xiaodong Liang
    Developer Technical Services
    Autodesk Developer Network

    Please use plain text.