Navisworks General Discussion

Navisworks General Discussion

Reply
New Member
alanbarn
Posts: 2
Registered: ‎06-22-2011
Message 1 of 6 (1,982 Views)

Command line options for file conversion

1982 Views, 5 Replies
06-22-2011 07:59 PM

I am using the command line options to automatically generate a .nwd file from a (PDMS Review) .rvm file.

 

The conversion works ok, and I am going to add a SYSCOM line to the end of the macro which generates the review models (daily)

 

I would like to apply certain model display changes at the same time as the conversion, i.e. graduated horizon, certain elements in the model to be translucent (escate routes etc).

 

Are there any command line switches that I can apply to my conversion?

 

Is there any way to automate the properties changes to the model in Navisworks.

 

The line I am using which works, is:

 

SYSCOM |  "C:\Program Files\autodesk\Navisworks Simulate 2010\roamer.exe" -nwd C:\PDMS\Review\PDMS_Review_Models\Gorgon-IEC-MOF.nwd C:\PDMS\Review\PDMS_Review_Models\Gorgon-IEC-MOF.RVM|

 

 

Valued Mentor
Patrick_Aps_9121
Posts: 488
Registered: ‎02-19-2010
Message 2 of 6 (1,974 Views)

Re: Command line options for file conversion

06-23-2011 04:31 AM in reply to: alanbarn

If the NWD created by your command  line has always the same filename and place, and gets overwritten each day,

then you can have a 2nd NWF file that has this NWD appended and holds the modifications, saved viewpoints etc.

In your batch file you have to add a line to batch create the 2nd NWF to a 2nd NWD that wil become the NWD the end-users will use.

 

Active Contributor
steve.carlson
Posts: 44
Registered: ‎03-04-2011
Message 3 of 6 (1,842 Views)

Re: Command line options for file conversion

09-09-2011 09:25 AM in reply to: Patrick_Aps_9121

Patrick:

 

could you explain this a bit more. Are you saying the following:

 

create 1 NWD file from the PDS file (with the command line)

then

created another NWD file (different location) on the same command line

I modify when required !!
Valued Mentor
Patrick_Aps_9121
Posts: 488
Registered: ‎02-19-2010
Message 4 of 6 (1,820 Views)

Re: Command line options for file conversion

09-11-2011 10:22 PM in reply to: alanbarn

Yes, for PDS it is not realy needed, but for PDMS I believe this is the right way to go:

- The first step in the batch proces is just there to convert the models into an NWD. For PDS models you can do this with an NWF file that has the .dgn models attached, for PDMS, I believe you have to this another way.

- The 2nd step is that you want to combine these NWDs, or you want to change colours, visibilty, or add viewpoints

you can do this by creating a 2nd NWF that has the NWD or the 1st step attached. The only restriction is that the NWDs from the first step should keep their filename and location when they are re-reated the next night.

- Now if you use NWF2NWD.bat, you can Create a 2nd NWD that combines and re-visualises the NWD's from the 1st step. Schedule this 2nd stap after the 1st and you will have a overnight creation of an NWD with your own viewpoints or display overrules...

I hope this clarifies a bit.

 

 

New Member
aerokhaleel
Posts: 1
Registered: ‎04-16-2013
Message 5 of 6 (1,014 Views)

Re: Command line options for file conversion

04-16-2013 10:32 PM in reply to: alanbarn

DO you have any Batch command to covert higher *.nwd(2013) file into lower version *.nwd(2012)

Active Member
opensteel
Posts: 10
Registered: ‎12-14-2010
Message 6 of 6 (930 Views)

Re: Command line options for file conversion

05-30-2013 12:24 AM in reply to: alanbarn

This is not possible.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Have API Questions?
New Dedicated Forum for Navisworks API