sd-inq-part-density
The sd-inq-part-density command can be modified to find the density of the contents, instance or realized. However; I cannot get the kind option to work.
I added this to a lisp
(sd-inq-part-density part (kind :contents))
but this does not work. With out the (kind :contents) it works find.
Any suggestions?
Below is copied from the help in Version 19.1.
(sd-inq-part-density part &optional (kind :realized))
- Description:
- Returns density of the specified part. Kind determines the kind of density you want to inquire (attached to contents, attached to instance or the one realized).
- Parameters:
-
- part {SEL_ITEM}
- kind (optional) one of
- :contents - inquire the base density (attached to contents; may be nil)
- :instance - inquire the part density (attached to instance; may be nil)
- :realized - inquire the realized density (i.e. the one used when realizing the part)
- Return Value:
- density {LONG-FLOAT}
- nil - if the inquired kind of density isn't specified (:contents / :instance only)
- See Also:
- SET_PART_BASE_DENSITY [terminate action]
- SET_PART_INST_DENSITY [terminate action]
- (Note: SET_PART_DENSITY [terminate action] is going to be obsolete)

