How do I export SketchUp files to 3D PDF preserving layer information?

Also there is an alternative free method: Design Spark Mechanical software imports .skp files directly (version 2014) and exports 3D pdf with layers etc. You can also use the software to edit geometry.