i created script that run some task i need for the user to draw the extent on screen when i define the parameter for the tools the extent defined as feature set and i need to add layer to use it schema how can i define it so the schema is the same as one of the input polygon layer ?

the tool wont always be on the same PC or network

closed as off-topic by PolyGeo Mar 22 '18 at 8:37

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Welcome to GIS SE! Thank you for having taken the Tour. For questions that involve code we ask that you show us where you are stuck with your own code by including a code snippet in your question. There is an edit button beneath your question which will enable you to do that and a {} button that enables you to format any highlighted code nicely. – PolyGeo Mar 22 '18 at 8:37