Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error importing Parameters

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
chunk07
542 Views, 5 Replies

Error importing Parameters

I am getting an error when importing a .csv file of parameters. I am using ParameterIO from the app store.  I manually entered the parameters the first time, and exported to edit, and then reimport. Parameters are from a Youtube tutorial by Kishore on bevel gear sets. Screen shot of error:

parameter import error.png

5 REPLIES 5
Message 2 of 6
goyals
in reply to: chunk07

You need to write the parameter in following format in your CSV file. The last column is for comment. Even if you do not have any comment to specify, you need to pass an empty string.

 

"d3","mm","100.00 mm",""

 

I hope it helps.



Shyam Goyal
Sr. Software Dev. Manager
Message 3 of 6
chunk07
in reply to: goyals

I had entered a list of parameters in the model as I drew it. The list
was long, so I exported it in case of a do over(I'm still learning). I
downloaded the app just for the purpose of being able to export the
parameters of a model, modify them as needed, and import them into a new
model. In fact, the parameter list I was trying to import, had been
exported, a couple new parameter added, and re-imported several times.
The error appeared when I created a new file in Excel, saved as a CSV
file, and tried to import it.
Could anyone explain what the error message means?
Message 4 of 6
goyals
in reply to: chunk07

The error means it is not able to find the data in fourth column of a row while reading CSV file.

To understand what I am trying to say, create a box in Fusion and then export the parameters in to a CSV file and then open this CSV file in notepad, you will see a fourth column for each parameter like this

"d1","mm"","70.00 mm"",""

This fourth column is missing in your CSV file.



Shyam Goyal
Sr. Software Dev. Manager
Message 5 of 6
chunk07
in reply to: goyals

I beg to differ with your explanation. I just exported the parameters of
a model, saved the file on my desktop, and opened it in Excel2007. There
are only 3 columns of data...
I have attached the exported parameter csv file.
Message 6 of 6
goyals
in reply to: chunk07

Because there are empty strings for comments hence not shown in xls. Try to open csv file in notepad and there you can  see comma separated values.



Shyam Goyal
Sr. Software Dev. Manager

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report