Ah, very interesting, thanks brewsky!
Posts made by blruuska
-
RE: Load classification system via ruby code
-
RE: Load classification system via ruby code
Dan, Thanks for verifying. It is surprising that NotImplementedError wasn't raised, if that is the case here.
-
RE: Load classification system via ruby code
Not able to set enumerated "choice" type attributes via the API. For example, the IFC 2x3 CompositionType for IfcBuilding provides the values "complex", "element", or "partial". It can be set manually with the UI, but not the API:
selection = Sketchup.active_model.selection definition = selection.first.definition definition.add_classification("IFC 2x3", "IfcBuilding") path = ["IFC 2x3", "IfcBuilding", "CompositionType", "IfcElementCompositionEnum"] success = definition.set_classification_value(path, "element") Error; #<RuntimeError; Unexpected attribute type> <main>;in `set_classification_value' <main>;in `<main>' SketchUp;1;in `eval'
Am I doing something wrong, or is this kind of value setting not yet available in the API?
-
RE: Wrong Parent dimensions when using the copies attribute
Bearskin,
Have you tried configuring your sizing formulas in the children to reference dimensions of the parent?
Reference: http://sketchucation.com/forums/viewtopic.php?f=289&t=35214
-
RE: Plugin installation on Lion
matarazzodesign,
Could you provide the detailed steps needed to resolve this problem?
-
RE: [code] SketchupExtension and rbs rubies
Dan, I tried to implement your extension script, but around line 25:
def @@plugin.path() @path end
The @path variable seems to be undefined. Do you recall where that should be set? (I'm probably missing something?!)
-
RE: Installers for plugins.
Do you know of any similar Installers for the Mac platform?
-
RE: How do i change length attributes in ruby
Agenor, changing the length on a DC can be tricky. See this discussion:
https://groups.google.com/forum/#!topic/sketchupruby/630uerkDhJI/discussion