Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Specify file name to import as a parameter

Please login with a confirmed email address before reporting spam

Hi there,

Is there a way to specify which DXF file to import as a polygon in a work plane, using a parameter?

I'm generating the structures I want to study using a (Python) script that exports them as DXF files. Typically, I vary some parameters to optimize the structures, so I'll end up with a folder filled with (slightly different) DXF files. Ideally, I would like to loop over the files in this folder using a COMSOL Parametric Sweep, for example by using the file name as a sweep parameter. Is this possible?

Thanks!


2 Replies Last Post Mar 4, 2019, 5:01 p.m. EST
François Mandias COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 6 years ago Nov 12, 2018, 7:02 a.m. EST

Hi Jesse, I've sent you a private message.

Cheers, François

Hi Jesse, I've sent you a private message. Cheers, François

Please login with a confirmed email address before reporting spam

Posted: 6 years ago Mar 4, 2019, 5:01 p.m. EST

Hi Francois,

I have a similar situation in which I would like to parameterize the DXF import file. Can you share the solution you suggested to Jesse in the private correspondance?

Thanks, Chris

Hi Francois, I have a similar situation in which I would like to parameterize the DXF import file. Can you share the solution you suggested to Jesse in the private correspondance? Thanks, Chris

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.