1/12/2024 0 Comments Unwrap pro script by here nodeIf it's null, keep moving.if it has data, calculate the amount of circuit ID fields needed based on the input.Īgain, sorry for having nothing to start with. With this information I need the script to go through each Cust#NodeID field to check and see if it's null or not. The number varies from 1 to 10 circuit ID's. I also need to get a users input to know the amount of circuit ID's needed. Populated means run the calculation, while Null means do nothing. I've used the Cust#NodeID field as my reference for whether calculations will run or not because that field determines if they are needed or not. My feature class has fields for all 5 customers, but not all 5 will be populated. Essentially the fields look as they do below: I'm using "Cust1", "Cust2", etc only as examples in place of their actual names.just stating that to eliminate your efforts in trying to add the customer number in a potential for/while loop. The fields that I need to focus on in this exercise are the Cust1Name, Cust1NodeID, Cust1HomeID, and 10 Cust1CircuitID fields. I have a feature class that has a number of fields that are duplicated for 5 different customers. I'll start off by apologizing for not having any sort of sample of my code, but I am really just unsure on how to begin the code, so all I have is notes of what I need. For samples of the correct code, see posts below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |