forked from 1b-agent/opencadstudio-upstream
ATTACH: FILEDIA, -ATTACH command line and reference file types
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b1d4c9bd9b
commit
0678c579c0
33 files changed
+519
-47
No files matched your search
@@ -147,6 +147,9 @@ pub struct XAttachCommand {
|
||||
|
||||
const NONZERO: &str = "Value must be nonzero.";
|
||||
|
||||
/// Raster image files ATTACH places as images.
|
||||
pub const IMAGE_EXTENSIONS: &[&str] = &["bmp", "gif", "jpg", "jpeg", "png", "tif", "tiff", "webp"];
|
||||
|
||||
impl XAttachCommand {
|
||||
pub fn new(request: XrefAttachRequest, placement: XrefPlacement, label: &'static str) -> Self {
|
||||
let block_name = path_to_block_name(&request.path);
|
||||
|
||||
Reference in new issue
Block a user