Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Three-dxf with a php application to view all the dxf files from a directory #40

Open
esanmar opened this issue Feb 14, 2020 · 0 comments

Comments

@esanmar
Copy link

esanmar commented Feb 14, 2020

Hi,

I have installed the component and it is great!
Now I would like to view all the dxf files from a directory.
I have these lines in php :

$directory = '\\\\pc0234\docs\data\01';
foreach(scandir($directory) as $file) 
{

<div id="cad-view" name="<?php  echo $directory . $file; ?>"> 
		<?php  echo $directory . $file; ?>
</div>

} 

What do I have to change in the index.js?
Do you have any sample about this?

Thanks, best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant