Do not try to create layouts from a script. Not only is this impossible in FileMaker, it'd be a very bad idea even if you could.
It's important to note that you have two tables that go with your two layouts. They should be related in some way such as:
Projects::ProjectID = SystemInput::ProjectID
where ProjectID is a serial number field in Projects and a simple number field in SystemInput
Then you can create a new record in Projects with a new Project ID and new records in SystemInput with the same project ID.
To control what records are visible on the SystemInput layout, you either perform finds for a specific ProjectID or use Go To Related Records to bring them up.