Bob, if you happened to add that Layer using my Add Layer extension, it may have been set to be not visible for any new Layers added to the model. Any chance of that?
Posts
-
RE: Making New Scene using "Add' Loses Layers
-
[Plugin] North Angle Animator
North Angle Animator stores the position of the model's North Angle per Scene. When enabled, the North Angle is animated from Scene to Scene.
I will apologize in advance for the icons.
Its use is simple:
[1] Select a Scene.
[2] Click the green button
[3] Enter the North Angle in Degrees. Clear the entry to exclude the Scene. Repeat 1 - 3 for other Scenes to include.
[4] Enable the animation
[5] Click through the Model Scenes.Available on the Plugin Store
2016-10-20: v0.0.1 Released
-
RE: Question about scenes
I'm cleaning up an old "North Angle Animator" extension I've had around. Will post on Extension Store later today. It stores the North Angle per Scene and animates it between Scene changes.
-
RE: Question about scenes
The North Angle can be saved with the Scene iff you turn off Scene Transitions (in the View > Animation > Settings dialog.)
But once you re-enable Scene Transition, your per-Scene North Angles are lost.
-
RE: [Plugin] FreeDXF Importer
One thing you can try while I work on a fix is to open the .dxf file in an editor such as Notepad++, set the encoding to utf-8, then save the file. It should import correctly.
But might lose some characters such as this one:
puts "\x90".force_encoding("cp1251").encode("utf-8") ђ
-
RE: Schemas
@laggingbehind said:
That's great Jim & really appreciated
I'll have a proper look later in the day, apparently my boss thinks I should we working hahahaYou could use plain old Dynamic Component attributes for this - then you could use the fields with Generate Report. Any reason you want a schema?
-
RE: Making New Scene using "Add' Loses Layers
The new Scene gets its properties from whichever Scene Tab is selected (across the top.) It doesn't matter which Scene is selected in the Scenes dialog. Is this not what you are seeing?
I admit it may not be as intuitive as it could be, but that's how it's always been.
-
RE: [Plugin] FreeDXF Importer
Oh so it's an encoding issue. Can you share the file here or in a private message? I don't have an example with which to work out a solution.
-
RE: [Plugin] FreeDXF Importer
@elektro said:
Good evening.
I have installed the latest version freeDXF 16th in Sketchup 2016, but I can not
to import any DXF files.
I tried to install the older version of freeDXF but nothing has changed.
Some solution?If you open the Ruby Console before attempting to import using FreeDXF, then are there any errors that appear?
-
RE: Schemas
For reference, the following page is a good place to start.
-
RE: Schemas
I see SketchUp will create a drop-down for enumerations which is a nice feature. I'm out of time now but can post an example later.
-
RE: Schemas
I am interested in learning about this in relation to SketchUp. I will preface this by saying I don't quite understand everything that is going on with SketchUp Classifications and XML Schemas, but here is something simple and which may work for you.
The SketchUp Help Center article says SketchUp can import both .skc and .xsd files. .xsd file is a simple text file. I just googled an example .xsd file, modified it slightly, and imported into SketchUp via the Classification dialog.
[1] Import the Thing.xsd file (from Model Info/Classification Dialog)
[2] Classify your components as a "Thing" type (in Entity Info)
[3] Open the Components Options Dialog.Of course, you will want to rename the Thing.xsd file and edit it's contents from "Thing" to whatever you want to name your classification.
-
RE: Schemas
@slbaumgartner said:
I know what the word means, but that doesn't clarify what the OP wants with respect to SketchUp. A text description of the steps to create a model? For what kind of "project work"? And why 6-line?
I assume the original poster is talking about a Classification Schema, although a 6-line classification schema seems... unlikely.
-
RE: [Plugin] FreeDXF Importer
@kuu said:
Nice plugin, works much better than the SketchupPro import. However, there's a few things I've noticed: ...
Hi Kuu, thanks for the feedback.
It does not respect blocks' scaling / orientation properly: blocks that were mirrored in the original DXF sometimes end up in strange positions (this does not happen with the other import).
Could you provide a minimal .dxf example file, and example result?
Perhaps related to the last issue, sometimes I saw blocks that had the proper orientation but had ellipse elements that were rotated in 90 or 180 degrees.
Maybe related, maybe not - ellipses have proven difficult to crack but it's been awhile since I've had a look at it. Again, a minimal sample file demonstrating an incorrect ellipse would be helpful.
Layer colors? Visibility?
I wrote this long before SketchUp had support for setting layer colors. Now it does. Can have a look.
-
RE: [code] reset webdialog and toolbars .bat file
Unless you're still using SketchUp 7 or 8, you don't need this; and even if your are, you still probably don't need it.
What problem do you wish to solve by running this code?
-
RE: Nudge objects plugin?
I too have a Nudge tool and it works with the camera if nothing is selected; and aectionnplane too. Maybe we all should put our heads together and create the ultimate nudge tool hehe!
-
RE: Getting Ruby C Extensions to work with 64-bit Windows
Check out this issue on the GitHub Repo:
Build failed for Release (2.0) x64 platform · Issue #6 · SketchUp/ruby-c-extension-examples
Using VS Express 2015 for Windows Desktop. I had to change the Runtime Library to use the /MD option instead of the /MT option in order to build SUEXT_HelloWorld for Release (2.0) on the x64 Platform. Properties > C/C++ > Code Generation...
GitHub (github.com)
Thom posted a revised RubyLib.h file that fixes these.
-
RE: [Plugin] ToolbarEditor (1.1.2) – updated 08.06.2014
Look also in your "%APPDATA%\SketchUp Toolbar Editor" folder for toolbar commands.
-
RE: Fastest way to download a collection from warehouse
You can download 12 at a time from the Components dialog "Save as local collection."
-
RE: How detect that a file is locked by another app?
@unknownuser said:
Also, prefer opening files using block syntax so it always closes - saves you explicit rescue to close.
...which actually simplifies everything.
def write_to_file(filename) File.open(filename, "a") { |file| file.puts("Hello #{Time.now}") } rescue Errno;;EACCES puts "Could not write to file." end
Advertisement