.Net API - Create NWC Files and save out to NWF

.Net API - Create NWC Files and save out to NWF

Anonymous
Not applicable
2,295 Views
4 Replies
Message 1 of 5

.Net API - Create NWC Files and save out to NWF

Anonymous
Not applicable

I want to ask the question about creating NWC files for different directories in a project with AutoCAD models and save them out to another folder in order to combine all the NWC files into a master NWF file set using the .net api. I have installed the sdk and there is a folder named "nwcreate" and its supposed to be a standalone application but I can not figure out how to use those particular files? Nothing in the readme or help explains.

 

1. Console App or Windows Form? But my preference would be use a windows form to start with.

Any direction of help would be greatly appreciated.

 

JGarza

 

0 Likes
Accepted solutions (3)
2,296 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
Accepted solution

I figured out my own problem, thanks.

 

0 Likes
Message 3 of 5

McSwiller
Advocate
Advocate

-Interested to know what you did to solve your NWC output; am looking at NWC output automation also. -Thanks

0 Likes
Message 4 of 5

Anonymous
Not applicable
Accepted solution

Sure,

I found out the api has he following..

 

automationApplication.CreateCache(file.FullName);

 

so i used this to create the nwc files for the selected list of folders. then save it out to an nwf file...

 

automationApplication.SaveFile(OutputPath +".nwf");

 

Hope this helps...

 

Jgarza

Message 5 of 5

McSwiller
Advocate
Advocate
Accepted solution

Excellent!! Thanks you very much!!

0 Likes