Also, you may find this logic interesting - setting a Package Component to drill, but not-show on the report, and setting all other components to not-drill and do-show on the report.
Specifying Package Components
You can use similar logic to specify Package components, which should be drilled, but not shown on the report.
Create a new attribute - Package - and set it to true for those items which should be drilled, but not reported.
Create a new attribute - NoDrill - mark it as No_Drill, and set is to calculate as: !%Package% (NoDrill will be true for all components for which Package is false)
Also mark Package asSkip_If. Components with Package set to true will be drilled into, and not shown on the report.
I added a new attribute setting, No_Drill. If an attribute is marked as No_Drill and that attribute is true for a component, then that component will not be drilled into to look for other attributes.
Using No_Drill
Note: NoDrill is the name of an attribute I added to my model, and the attribute NoDrill has the No_Drill setting checked in the Attribute Wizard.
Skip_If was already in SpaceDesign. I added an attribute called NoShow, and set the Skip_If setting for that attribute. Then I checked NoShow for the cylinder which I did not want to show up on the report.
The attribute NoShow is marked as Skip_If. If it is checked for a component, then that component is not included int the report.
If you have an component which you never want to include in a report, you can mark it as 'Skip_If.
In the report below, 4 cubes were in the container which was marked as NoShow. The container was not counted, but the 4 cubes in it were counted. There was also a 5th cube not contained in the container, and is was counted as well.
The "3 Tier Circle" container was counted, but not the three circles within it. (Since it was marked as NoDrill). However, these was one circle not in the "3 Tier Circle" container which was counted.
I will upload a new version of SpaceDesign tonight, and I will send you the SketchUp model used to make this report.
I think the easiest way to do this is to add a NoDrill attribute.
You will set NoDrill for the "2 entire" component, and that will let that component be reported on, but not drilled for sub components.
For the other component, "1 (4)", which you want to drill, but not report, you will set the "Skip_if" attribute and it will not report, but still be drilled.
I will make this change and then upload the file which reports as desired.
Yes if i was drawing a folly and decided to 'explode' the component in Sketchup and remove a part of the window I would want the sub-components (now top level) to be reported. eg. say with the '2entire' if i exploded it and removed one of the components. The remaining two (which would now be top level components - not sub components) would need to be reported individually.
Al Hart said:
There was a bug in the Skip_if logic. I will post a new version tomorrow with instructions on how to do this.
Question: You have a component called "2 entire" which you want to report but not drill into. You have components called "2" which you do not want to report if you drill down to them. Would you want to report them if they were not sub-components? (Placed at the top level)
If so, I have to add login to either:
1. Know when a component is placed at a sub-component level, or
2. Mark a top level component as "No Drill", rather than marking the sub-components as "Skip"
There was a bug in the Skip_if logic. I will post a new version tomorrow with instructions on how to do this.
Question: You have a component called "2 entire" which you want to report but not drill into. You have components called "2" which you do not want to report if you drill down to them. Would you want to report them if they were not sub-components? (Placed at the top level)
If so, I have to add login to either:
1. Know when a component is placed at a sub-component level, or
2. Mark a top level component as "No Drill", rather than marking the sub-components as "Skip"
I still am having no luck understanding the ways of using the skip if and the include components with no attributes. I've created an example model - hopefully making sense as to what I want and have emailed it to you.
What we have planned is a way to generate a .CSV file of all components in a model. (You create a sample model to do this), and then let you edit the CSV file in excel, and reload it to alter the attributes.
But we have not done this yet. This will be in SpaceDesign Pro. (However, everyone who has purchased SpaceDesign basic already will get SpaceDesign Pro at no extra cost.)
Is there anyway of setting space design attributes without having to enter them maunally for each individual component in my library?
Thank you I'll take a look when I'm back at the office.
Al Hart said:
Does the: Include components with no attributes setting work for this?
if checked, then all components appear in the report - even if they have no Dynamic Component or SpaceDesign attributes. See: Report setup
Another way to do this is to use the 'skip_if' setting. Then you define attributes for the items you do not want to include in the report. See: skip_if
Natalie Carden said:
another query... also about space design attributes... (Al I've emailed you as well) I want to drill into certain components (where the top level attribute is not needed) and not into others where only the top level attribute is needed (these components still have attributes nested in but wont be needed if the top level attribute is used). How do I do this? Thank you!!
Replies
KA21 Jan 21, 2010
KA18 Jan 18, 2011
I just added this to SpaceDesign. I will upload a new version later today.
See: Define Attributes
Try the new KA19 version from the Download Page
Also, you may find this logic interesting - setting a Package Component to drill, but not-show on the report, and setting all other components to not-drill and do-show on the report.
Specifying Package Components
You can use similar logic to specify Package components, which should be drilled, but not shown on the report.
(NoDrill will be true for all components for which Package is false)
I added a new attribute setting, No_Drill. If an attribute is marked as No_Drill and that attribute is true for a component, then that component will not be drilled into to look for other attributes.
Using No_Drill
Note: NoDrill is the name of an attribute I added to my model, and the attribute NoDrill has the No_Drill setting checked in the Attribute Wizard.
See: No_Drill
Using Skip_If
Skip_If was already in SpaceDesign. I added an attribute called NoShow, and set the Skip_If setting for that attribute. Then I checked NoShow for the cylinder which I did not want to show up on the report.
If you have an component which you never want to include in a report, you can mark it as 'Skip_If.
See: Skip_If
Report
In the report below, 4 cubes were in the container which was marked as NoShow. The container was not counted, but the 4 cubes in it were counted. There was also a 5th cube not contained in the container, and is was counted as well.
The "3 Tier Circle" container was counted, but not the three circles within it. (Since it was marked as NoDrill). However, these was one circle not in the "3 Tier Circle" container which was counted.
I think the easiest way to do this is to add a NoDrill attribute.
You will set NoDrill for the "2 entire" component, and that will let that component be reported on, but not drilled for sub components.
For the other component, "1 (4)", which you want to drill, but not report, you will set the "Skip_if" attribute and it will not report, but still be drilled.
I will make this change and then upload the file which reports as desired.
Al Hart said:
There was a bug in the Skip_if logic. I will post a new version tomorrow with instructions on how to do this.
Question: You have a component called "2 entire" which you want to report but not drill into. You have components called "2" which you do not want to report if you drill down to them. Would you want to report them if they were not sub-components? (Placed at the top level)
If so, I have to add login to either:
1. Know when a component is placed at a sub-component level, or
2. Mark a top level component as "No Drill", rather than marking the sub-components as "Skip"
I still am having no luck understanding the ways of using the skip if and the include components with no attributes. I've created an example model - hopefully making sense as to what I want and have emailed it to you.
Thank you!
Not yet.
What we have planned is a way to generate a .CSV file of all components in a model. (You create a sample model to do this), and then let you edit the CSV file in excel, and reload it to alter the attributes.
But we have not done this yet. This will be in SpaceDesign Pro. (However, everyone who has purchased SpaceDesign basic already will get SpaceDesign Pro at no extra cost.)
Al Hart said: