- Notifications
You must be signed in to change notification settings - Fork9
A viewer and editor for entity and model attributes
License
Aerilius/sketchup-attribute-inspector
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is a viewer for entity and model attributes.Attributes in SketchUp are additional pieces of information that can be stored with entities like groups, components, scenes. For example one can store a part number, unit price, weight or other annotations with an entity and read or modify that information later. All attributes are included in SketchUp's report feature.
This inspector tries to keep the user interface minimal and very efficient: Just like SketchUp's inspector dialogs, you select one or more entities and it instantly displays their attributes. Your inputs are immediately saved to the entities.
Go to thereleases page (↑) and download the latest .rbz file. Open in SketchUpWindow → Extension Manager and select the .rbz file.
Alternatively, you can install the contents of the
srcdirectory into your plugins folder.If you choose to run from source rather than use the release
rbzfile, you'll need to run from thesketchup-attribute-inspectorfolder:npm installnpm build
(or with hot-patching during development, instead of build)
npm run dev-server
Menu:Window →Attribute Inspector
The dialog shows the attribute dictionaries of the currently selected drawing element. Use SketchUp's selection tool to select other elements.
Click the+,‒ buttons on the left pane to add or remove an attribute dictionary, and click+,‒ on the right pane to add or remove an attribute. Since attribute dictionaries are entities, they can themselves have attribute dictionaries. You can also create such nested dictionaries by selecting the parent dictionary in the left pane and clicking the└+ button.
To select other types of entities, choose the type from the dropdown:
- drawing elements: Use SketchUp's selection tool to select one or more drawing elements in the model (edges, faces, groups…)
- component definitions: Use SketchUp's selection tool to select components/groups/images
- materials: Use the materials browser and select a material. Attribute Inspector will show the current material (could be not working on OS X due to API bug)
- layers: Use the layer manager and check the radio button of the layer
- scenes: Use the scenes manager and double-click the scene (to make it the current scene)
- styles: Use the styles manager and double-click the style
Bug reports and pull requests are welcome on GitHub athttps://github.com/Aerilius/sketchup-attribute-inspector/issues.
This project requiresruby,ruby-bundler andnpm.
First, runnpm install andbundle install to install requirements.
Runbundle exec rake test to run the tests.
To release a new version, update the version number inversion.rb, and then runnpm run release(npm run build andbundle exec rake release).
To build a new installation package , runbundle exec rake build_rbz.
This extension is available as open source under the terms of theMIT License.
About
A viewer and editor for entity and model attributes
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.
