Navisworks API

Reply
Contributor
mobj
Posts: 25
Registered: ‎08-29-2006
Message 1 of 2 (244 Views)
Accepted Solution

Enable ALLOW_RESAVE when converting NWC to NWD

244 Views, 1 Replies
04-30-2012 02:45 AM

We're converting NWC to NWD, but the resulting NWD files are locked.

So we need a method to batch convert NWC + NWF files to NWD while enabling the flag: ALLOW_RESAVE

 

How do we enable this flag using vbscript or .NET?

Morten Bastue Jacobsen
Rambøll Danmark A/S
www.ramboll.dk
ADN Support Specialist
xiaodong.liang
Posts: 1,264
Registered: ‎06-12-2011
Message 2 of 2 (235 Views)

Re: Enable ALLOW_RESAVE when converting NWC to NWD

05-09-2012 09:55 PM in reply to: mobj

When you use Publish to generate the nwd file, you can set the flag:

 

.NET API:   PublishProperties.AllowResave . refer to api\net\documentation\.NET API.chm to find the sample

 

COM API: InwOaPublishAttribute.Flags = nwEPublishFlags .ePublishFlag_ALLOW_RESAVE .  refer to api\com\examples\auto_08, you can know how to se attributes.

 

 



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community