Skip to content

Fixed issue #333 (automation of auto-measure rulers)#335

Merged
klayoutmatthias merged 1 commit intomasterfrom
issue-333
Aug 28, 2019
Merged

Fixed issue #333 (automation of auto-measure rulers)#335
klayoutmatthias merged 1 commit intomasterfrom
issue-333

Conversation

@klayoutmatthias
Copy link
Collaborator

@klayoutmatthias klayoutmatthias commented Aug 26, 2019

The implementation provides a new method called "create_measure_ruler" in LayoutView:

view = RBA::LayoutView::current

# create the ruler with auto-measurement with seed point 111.8/840
ant = view.create_measure_ruler(RBA::DPoint::new(111.8, 840.0))
# style the ruler
ant.style = RBA::Annotation::StyleRuler
...
# remove the ruler
ant.delete

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

Successfully merging this pull request may close these issues.

1 participant