1
0
Fork 0
freesewing/markdown/dev/reference/macros/rmad/en.md
2021-10-17 18:26:00 +02:00

499 B

title
rmad

The rmad macro removes all dimensions with the exception of those that were created with a custom ID. It is provided by the dimension plugin.

To be able to use this plugin, you need to give your dimension an id:

// This will be removed
macro('ld', {
  from: points.from,
  to: points.to,
  d: 0,
})
// This will not removed
macro('ld', {
  from: points.from,
  to: points.to,
  d: 0,
  id: 'example' // custom ID
})

macro('rmad')