SJ Add DC Attribute

Hello Sketchuppers!

I am happy to announce the sharing of my plugin SJ Add DC Attribute in its version 0.3.0.

This extension allows you to modify/create common dynamic attributes on a selection of component groups and/or instances.
You can select an existing attribute in a definition, then apply it to all the definitions present in the selection or only to the instances of the selection. You can create it from scratch, save it in a list of favorite attributes to reuse it later.

I look forward to your comments and suggestions for improvement.

Have a nice weekend

New in version 0.3.0

  • Improved interface to be more compact

  • Added tooltips and help popovers

An option enables or disables tooltips.
This preference is saved in the template and editable in the form.

  • New option list management

You can import option lists from a CSV file.
Options can be reordered.
Error detection if a label is empty

  • Improved Value/Formula input field

A double click on the “value/formula” field toggles the display of a multiline input area.
If you fill in the “Definition” or “Summary” attribute, a toolbar appears. It allows you to add HTML layout tags in one click.
If you enter a formula, detection of errors on the number of closing and opening parentheses, as well as on the number of quotation marks.

  • Improved instance management.

Modifications can be applied to all instances sharing the same definition, or only to instances present in the selection.
If the attribute does not exist, it is created for all instances. If the option set is only on selected instances, then only those will receive a value. The definition and the rest of the instances will receive a null (empty) value.

  • New condition “Do not modify if existing!”

Possibility to activate the condition by clicking on the field label button.
If the condition is activated, the label is framed in yellow.
This allows targeted modification of attributes and meta-attributes.

  • Example, activating the condition on the Name label
    If the attribute exists, do not modify

  • Example, activating the condition on the “Value/Formula” label
    If the attribute has a specified value, do not modify the value

  • Example, activating the condition on the “Formulaunits” labe
    If the attribute has a specified unit, do not modify the unit

  • Coupling of the condition “Do not modify if existing!” and case management

The condition is checked on the definition and not on the instance.

  • Attribute saving and creation progress dialog box.

  • Automatic translation according to local Sketchup settings.

Language supported English and French.

Download links

You can download on my site : https://www.sketchup.simjoubert.com/my-plugins/sj-add-dc-attribute.html
Or on sketucation plugin store : https://sketchucation.com/pluginstore?pln=SJAddDCAttribute

1 Like

Link?

Hello,
The appropriate links have now been included in the previous post.

You can download on my site https://www.sketchup.simjoubert.com/my-plugins/sj-add-dc-attribute.html
Or on Sketucation plugin store SketchUp Plugins | PluginStore | SketchUcation

Please send me your feedback.
Thanks!

Hello
This video shows you how to duplicate an existing attribute in a component, and create it on a selection of groups or component that did not have this attribute.

Save an existing attribute to the list of favorite attributes.

This video shows you how to save an existing attribute to the list of favorite attributes. This list is saved in the model. Later, you can reuse this attribute and apply it to other groups or components.

SJ Add DC Attribute - Add description attribute with HTML tags

This video shows you how to create a description attribute with HTML formatting. When you expand the input field by double-clicking, a toolbar is displayed if you edit a description or summary. It allows injecting HTML tags at the location of the cursor.

SJ Add DC Attribute - Import option list from CSV file

This video shows you how to import a list of options for an attribute from a CSV file.

Hello
Publication of a corrective version


Last version SJ Add DC Attribute 0.3.1 Update of 09/12/2022

Download link on my site : SJ Add DC Attribute
or on the PluginStore SJ Add DC Attribute | SketchUcation


Release notes:

V.0.3.1 2022/09/12

  • Fixed display of long lists in the CSV import window, which required scrolling the modal window.
  • Fixed display of long option lists that hid buttons in some cases.
  • Fixed form filling after selecting an attribute in lists.
  • Default units for lengths are set to model unit.

Hello
Publication of a corrective version


Last version SJ Add DC Attribute 0.3.2 Update of 25/12/2022

Download link on my site : SJ Add DC Attribute
or on the PluginStore SJ Add DC Attribute | SketchUcation


Release notes:

V.0.3.2 2022/09/25

  • Fixed a bug on the transform that rotated instances, if they didn’t have a rotation attribute and were rotated around an axis