Jump to content

m0rtezaaghili

Members
  • Content count

    8
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About m0rtezaaghili

  • Rank
    Peon
  • Birthday 07/09/1990

Contact Methods

  • Website URL
    http://mortezaaghili.com/EN/

Personal Information

  • Name
    Morteza
  1. Poya Shohani FX TD Reel 2012

    nice dude
  2. The Sugar Cube Mission

    wo0ow, fantastic
  3. error in running Function

    Thanks mantragora Tomas is helped me to fix this error i was wrote on this code " = " Rather than " . " here : wayPoints = append(points[index]) [/CODE] thanks all
  4. error in running Function

    thanks guys. i'm newcomer in houdini and does't know anything about it! so i watching the tutorials and then coding. i upload the scene here and hope you help me to fix this error just unzip Map2.rar and set in Map File. thanks PS: @ mantragora : why not? its working for me dude! try this url project.zip
  5. error in running Function

    i have one function called HDways. i wrote it from tutorial and on the tutorial is working good but for me not I'm confused, why not working pointsIDs = [] points = [] pointsIDs.append(int(node.getAttribute('id'))) points.append(point) def HDways(xmlData): ways = xmlData.getElementsByTagName('way') for way in ways: wayPoints = [] nodes = way.getElementsByTagName('nd') for node in nodes: ref = int(node.getAttribute('ref')) try: index = pointsIDs.index(ref) except ValueError: index = -1 if (index != -1): wayPoints = append(points[index]) poly = geo.createPolygon() for point in wayPoints: poly.addVertex(point) [/CODE]
  6. My python Code Not working

    Thanks Dear Tomas its working, but i have a question, why Houdini console not running for me? edit: houdini console is working perfect!!
  7. My python Code Not working

    Thank you Both of my friends but it not working and i don't know why my Houdini console is not showing in popup
  8. My python Code Not working

    Hi guys i'm newcomer in Houdini, my simple code not working and don't show error in Houdini console! i changed the Tag Name to "osk" from "osm" but i don\t see error 'Bad file type' in console. import xml.dom.minidom document=""" <osk version="0.6" generator="CGImap 0.1.0" copyright="OpenStreetMap and contributors" attribution="http://www.openstreetmap.org/copyright" license="http://opendatacommons.org/licenses/odbl/1-0/"> <bounds minlat="40.7432000" minlon="-73.9897000" maxlat="40.8052000" maxlon="-73.9304000"/> <node id="1420631950" lat="40.7711745" lon="-73.9792204" user="Aaron Lidman" uid="53073" visible="true" version="2" changeset="15468871" timestamp="2013-03-23T17:11:31Z"/> <node id="1420631974" lat="40.7716867" lon="-73.9779803" user="Aaron Lidman" uid="53073" visible="true" version="2" changeset="15468871" timestamp="2013-03-23T17:11:31Z"/> <node id="1420631985" lat="40.7694268" lon="-73.9788969" user="dchiles" uid="153669" visible="true" version="1" changeset="9189979" timestamp="2011-09-02T04:12:03Z"/> </osk> """ map = xml.dom.minidom.parseString(document) if (map.documentElement.tagName != "osm"); print('Bad File Type') return [/CODE] Thanks
×