Jump to content

Recommended Posts

Posted

No luck as get the following

Command: -image

Enter image option [?/Detach/Path/Reload/Unload/Attach] : attach

Enter image file name to attach:

M:/DATA/AERIAL_PHOTOS/2012/84235/RGB_10cm_1km_Jpeg

Image not found.

Enter image file name to attach: _Tiles

Image not found.

Enter image file name to attach: *Cancel*

 

The file path is 100% correct

  • Replies 48
  • Created
  • Last Reply

Top Posters In This Topic

  • Cad2762

    19

  • ReMark

    17

  • Tuns

    6

  • dbroada

    2

Top Posters In This Topic

Posted Images

Posted

No, it isn't. Where is the name of the file you are trying to attach?

Posted

Well it isn't correct if it can't be found. What is the name of the image? The file path should be something like M:/DATA/AERIAL_PHOTOS/2012/84235/RGB_10cm_1km_Jpeg _Tiles/image.jpeg

Posted

Maybe Cad2762 wants to be able to pick from a group of images and not specify one in particular?

Posted

If you type -image in the command line then A for attach you get a dialog box pop up which then requires you to browse through the various folders, with -image;attach;M:/DATA/AERIAL_PHOTOS/2012/84235/RGB_10cm_1km_Jpeg _Tiles;\1;0;

at the attach point in your string this is where it must be falling over.

Posted

No, it isn't. This: RGB_10cm_1km_Jpeg _Tiles is not the name of an image it is the name of a directory.

 

This is an example of a name of an image: myimage.jpg

Posted

I'm not trying to specify an image I'm trying to get the folder displayed that has the images within it, RGB_10cm_1km_Jpeg is the folder name!

Posted

Jesus Christ... You could have said that 11 posts ago... I don't know of a macro to simply open a folder to display the images in it. That sounds like it would be a manual job.

Posted

I think you'll have to resort to using a different method (not a macro) so you can browse a folder to select an individual file out of a bunch of files.

Posted
Jesus Christ... You could have said that 11 posts ago... I don't know of a macro to simply open a folder to display the images in it.

 

His name is Cad2762 not J.C. And he probably did say it 11 posts ago but not as clearly as he has now. Our bad.

Posted

if you have a space in your path (such as between Jpeg & _Tiles) you have to enclose the string in "quotes". The quotes aren't required if you don't have spaces.

Posted

If you look at my original post you can see its a folder and not a file

Aerial Photos.JPG

Posted

and further to my comment, you have added a space that is not in that image

Posted

Thanks REMARK If you look at my original post you can see its a folder and not a file

Posted

He wants to browse a folder using a macro. I don't see that as being possible. Am I right or wrong?

Posted

Is there a way you could incorporate a .bat file within a macro?

Posted
He wants to browse a folder using a macro. I don't see that as being possible. Am I right or wrong?

You aren't wrong there.

I don't know if you can run a .bat from a macro but I don't think it would be impossible. What did you have in mind?

Posted

The SHELL command allow this to happen, I am no expert here, but would it be possible to incorporate a batch file that browses to a location. The tricky part would be to have it incorporate that within the AutoCAD dialogue windows.

Posted

15+ years ago I was creating custom menu pull downs for our team, using Autoexec.bat, creating script files etc but since being very unwell about 3 years ago I now find it harder to concentrate on this type of thing, I have no problem turing my drawings out day after day but do now struggle a bit with this type of thing.

Posted

How about a macro that calls a lisp routine that incorporates the "getfiled" function? Once the file is selected though then what? Is control returned to the macro or does it remain with the lisp routine?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...