|
|
| GeoCommunity Mailing List |
| |
| Mailing List Archives |
| Subject: | Re: [gislist] Script for rotating point feature perpendicular
tolinework |
| Date: |
12/20/2006 09:45:00 AM |
| From: |
David Lamb |
|
|
Sounds like you need to have the marker symbol's angle set so it's perpendicular to the line. I found this description that you might be able to modify to do this, but you'll need to have code that will select a line based on a point and then calculate the angle that the line has. I haven't seen a script that will do this, but there is probably an example somewhere. http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleS how&d=24863
An alternative might be - since your conductor are at the end of the line and assuming that the lines end point is where the conductor is, then you might be able to just create a cartographic line symbol that has your conductor symbol at the end of the line. You just set the line properties tab to one of the arrows, and then change the arrow to the symbol you need. The symbol should automatically rotate as the line does.
Good luck, David
-----Original Message----- From: gislist-bounces@lists.geocomm.com [mailto:gislist-bounces@lists.geocomm.com] On Behalf Of Selvan Sent: Wednesday, December 20, 2006 2:10 AM To: gislist-request@lists.geocomm.com: gislist@lists.geocomm.com Subject: [gislist] Script for rotating point feature perpendicular tolinework
Hi Folks!!!!
I need to know if there are any free script available for rotating the utilities symbols in electrical or water network GDB files.I am working on ArcGIS 9.0 To be more specific. I have an electrical conductor (line) with 270deg and the point feature is placed snapping to the end of the conductor..I want to know if there are any ready free script available to rotate the points feature perpendicular to the linework.Hope it makes sense.
Any help on this would be appreciated.
Regards,
Kalai Selvan. www.magnasoft.com *******************************************************DISCLAIMER******* ******************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Magnasoft has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Magnasoft reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Magnasoft e-mail system.
************************************************************************ ****************************************************** _______________________________________________ gislist mailing list gislist@lists.geocomm.com http://lists.geocomm.com/mailman/listinfo/gislist
_________________________________ This list is brought to you by The GeoCommunity http://www.geocomm.com/ _______________________________________________ gislist mailing list gislist@lists.geocomm.com http://lists.geocomm.com/mailman/listinfo/gislist
_________________________________ This list is brought to you by The GeoCommunity http://www.geocomm.com/
|
|

Sponsored by:

For information regarding advertising rates Click Here!
|