How mapping texture to procedural object from static scaleable meshes?

In my project I generate procedural interior object from small meshes and scale it. I want use smallest library of meshes to produce a lot of variation with size and numbers of doors, drawers, frames… Every component must be scaleable. Similar to Sketchup dynamic component example of door [Using the Dynamic Door - YouTube][1]

I try worldalign but, when move or rotate object from meshes, coordination staying in world origin and same direction.

I try localposition > transform > worldalign position. Moving is OK. But texture from one part to another part mesh is not tiled.

I try for rotate [World-Aligned-Texture-With-offset-amp-Rotation][6] with this math [function][7]