The IsoCurve is created on a GDMLObject not something from the Curves workbench. I used the Curves workbench to create the IsoCurve,
which it seems to have done correctly.
Code: Select all
>>> doc = App.getDocument("IsoCurve_Test_After")
>>> obj = doc.getObject("IsoCurve")
>>> shp = obj.Shape
>>> ### End command Std_SendToPythonConsole
>>> print(dir(obj))
['Content', 'Document', 'ExpressionEngine', 'Face', 'FullName', 'ID', 'InList', 'InListRecursive', 'Label', 'Label2', 'MemSize', 'Mode', 'Module', 'MustExecute', 'Name', 'NoTouch', 'NumberU', 'NumberV', 'OldLabel', 'Orientation', 'OutList', 'OutListRecursive', 'Parameter', 'Parents', 'Placement', 'PropertiesList', 'Proxy', 'Removing', 'Shape', 'State', 'TypeId', 'ViewObject', 'Visibility', '__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'addExtension', 'addProperty', 'adjustRelativeLinks', 'clearExpression', 'dumpContent', 'dumpPropertyContent', 'enforceRecompute', 'evalExpression', 'getAllDerivedFrom', 'getDocumentationOfProperty', 'getEditorMode', 'getEnumerationsOfProperty', 'getGlobalPlacement', 'getGroupOfProperty', 'getLinkedObject', 'getParentGeoFeatureGroup', 'getParentGroup', 'getPaths', 'getPathsByOutList', 'getPropertyByName', 'getPropertyNameOfGeometry', 'getPropertyOfGeometry', 'getPropertyStatus', 'getPropertyTouchList', 'getStatusString', 'getSubObject', 'getSubObjectList', 'getSubObjects', 'getTypeIdOfProperty', 'getTypeOfProperty', 'hasChildElement', 'hasExtension', 'isDerivedFrom', 'isElementVisible', 'isValid', 'purgeTouched', 'recompute', 'removeProperty', 'resolve', 'resolveSubElement', 'restoreContent', 'restorePropertyContent', 'setDocumentationOfProperty', 'setEditorMode', 'setElementVisible', 'setExpression', 'setGroupOfProperty', 'setPropertyStatus', 'supportedProperties', 'touch']
>>> print(dir(shp))
['Area', 'BoundBox', 'CenterOfGravity', 'CompSolids', 'Compounds', 'Content', 'Edges', 'Faces', 'Length', 'MemSize', 'Module', 'Orientation', 'Placement', 'ShapeType', 'Shells', 'Solids', 'SubShapes', 'Tag', 'TypeId', 'Vertexes', 'Volume', 'Wires', '__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setstate__', '__sizeof__', '__str__', '__subclasshook__', 'add', 'ancestorsOfType', 'applyRotation', 'applyTranslation', 'check', 'childShapes', 'cleaned', 'common', 'complement', 'connectEdgesToWires', 'copy', 'countElement', 'countSubElements', 'cut', 'defeaturing', 'distToShape', 'dumpContent', 'dumpToString', 'exportBinary', 'exportBrep', 'exportBrepToString', 'exportIges', 'exportStep', 'exportStl', 'extrude', 'findPlane', 'fix', 'fixTolerance', 'fuse', 'generalFuse', 'getAllDerivedFrom', 'getElement', 'getElementTypes', 'getFaces', 'getFacesFromSubElement', 'getLines', 'getLinesFromSubElement', 'getPoints', 'getTolerance', 'globalTolerance', 'hashCode', 'importBinary', 'importBrep', 'importBrepFromString', 'inTolerance', 'isClosed', 'isCoplanar', 'isDerivedFrom', 'isEqual', 'isInfinite', 'isInside', 'isNull', 'isPartner', 'isSame', 'isValid', 'limitTolerance', 'makeChamfer', 'makeFillet', 'makeOffset2D', 'makeOffsetShape', 'makeParallelProjection', 'makePerspectiveProjection', 'makeShapeFromMesh', 'makeThickness', 'makeWires', 'mirror', 'multiFuse', 'nullify', 'oldFuse', 'optimalBoundingBox', 'overTolerance', 'project', 'proximity', 'read', 'reflectLines', 'removeInternalWires', 'removeShape', 'removeSplitter', 'replaceShape', 'restoreContent', 'reverse', 'reversed', 'revolve', 'rotate', 'rotated', 'scale', 'scaled', 'section', 'sewShape', 'slice', 'slices', 'tessellate', 'toNurbs', 'transformGeometry', 'transformShape', 'transformed', 'translate', 'translated', 'writeInventor']
>>>
if he could add a property to the IsoCurve that is a Link to the Surface that was used to create the IsoCurve i.e. say OrigSurface - PropertyLinkGlobal property?