forked from 1b-agent/opencadstudio-upstream
Merge PR #1574 from ramox81/codex/attdef-parity: ATTDEF dialog, -ATTDEF, tag display, Properties and Block Definition ribbon
Conflicts with #1573: the locale files and the catalog take both PRs' entries (one "Insertion Point" mapping kept); the Home and Insert Block panels take #1574's layout with #1573's Insert Block gallery.
This commit is contained in:
commit
a1d0cf3873
47 files changed
+2970
-490
No files matched your search
+1081
-184
File diff suppressed because it is too large.
Load diff
@@ -31,7 +31,7 @@ impl CadModule for DrawModule {
|
||||
use crate::modules::annotate::{
|
||||
angular_dim, leader_cmd, linear_dim, mleader_cmd, mtext, radius_dim, text,
|
||||
};
|
||||
use crate::modules::insert::{create_block, insert_block};
|
||||
use crate::modules::insert::{attedit, create_block, edit_block, insert_block};
|
||||
use clipboard::{copy_clip, cut, paste};
|
||||
use draw::{arc, circle, ellipse, hatch, line, polyline, shapes};
|
||||
use groups::{group, ungroup};
|
||||
@@ -200,9 +200,13 @@ impl CadModule for DrawModule {
|
||||
},
|
||||
RibbonGroup {
|
||||
title: "Block",
|
||||
// Slide-out: Define / Manage / Synchronize Attributes and
|
||||
// Set Base Point.
|
||||
tools: vec![
|
||||
RibbonItem::LargeTool(create_block::tool()),
|
||||
insert_block::gallery(),
|
||||
RibbonItem::Tool(create_block::tool()),
|
||||
RibbonItem::Tool(edit_block::tool()),
|
||||
RibbonItem::Tool(attedit::tool()),
|
||||
],
|
||||
},
|
||||
RibbonGroup {
|
||||
|
||||
Reference in new issue
Block a user